Martin Kustermann 53bfd6d932
Mark all IconData fields as entrypoints to prevent tree shaking its fields (#181849)
Flutter's tree shaking of icon data in fonts examines the tree shaken
Kernel AST, searching for `IconData` constants. It will then examine
their fields in order to shake parts of fonts.

We should mark those fields as entrypoints to prevent the tree shaker
from removing the fields (an optimization that may land in [0]) as the
`const_finder` tool relies on them being there.

[0] https://dart-review.googlesource.com/c/sdk/+/472541
2026-02-12 09:46:44 +00:00
..
2026-02-10 03:36:10 +00:00
…
2026-02-10 03:36:10 +00:00
…

Flutter

Flutter is a new way to build high-performance, cross-platform mobile, web, and desktop apps. Flutter is optimized for today's — and tomorrow's — mobile and desktop devices. We are focused on low-latency input and high frame rates on all platforms.

See the getting started guide for information about using Flutter.