mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The flutter engine & framework can opt out of this optimization for individual classes / class hierarchies via: * `@pragma(flutter:keep-to-string)` * `@pragma(flutter:keep-to-string-in-subtypes)` Or by using the convenience constant `@keepToString` from `dart:ui`. => This aligns the build process more with g3 (which already does this) Closes https://github.com/flutter/flutter/issues/52759