mirror of
https://github.com/flutter/flutter.git
synced 2026-02-12 22:03:04 +08:00
To avoid confusion and unpredictable errors (e.g. https://github.com/flutter/flutter/issues/127462), I'm adding this assert to disallow this pattern. Fixes https://github.com/flutter/flutter/issues/127462