You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
material_ui 1.3.0 & cupertino_ui 1.1.0 on Flutter 3.44 Error: Undefined name 'awaitNotRequired'. #192839
@simonpham Thanks for the report. Could you please provide a minimal reproducible sample that produces the error, along with flutter doctor -v from that project? Thanks!
@simonpham Thanks for the report. Could you please provide a minimal reproducible sample that produces the error, along with flutter doctor -v from that project? Thanks!
you can just clone material_ui example and run it with Flutter 3.44.9
@simonpham Thanks for the clarification. I was able to reproduce the issue using the material_ui 1.3.0 example on Flutter 3.44.9, where the build fails with Undefined name 'awaitNotRequired'. The same example builds successfully on Flutter 3.47.4.
The package declares Flutter >=3.44.0, so this is actionable as a package compatibility issue. Routing to the team for further evaluation.
I would expect that, when running flutter pub add <package> and installing any package, Flutter should be able to detect the last compatible package version, which doesn't use material_ui yet. But that is not the case right now.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
[-]material_ui 1.3.0 & cupertino_ui 1.1.0 Error: Undefined name 'awaitNotRequired'.[/-][+]material_ui 1.3.0 & cupertino_ui 1.1.0 on Flutter 3.44 Error: Undefined name 'awaitNotRequired'.[/+]saurabh-mirajkar commentedon Sep 16, 2026
@simonpham Thanks for the report. Could you please provide a minimal reproducible sample that produces the error, along with
flutter doctor -vfrom that project? Thanks!simonpham commentedon Sep 16, 2026
you can just clone material_ui example and run it with Flutter 3.44.9
saurabh-mirajkar commentedon Sep 16, 2026
@simonpham Thanks for the clarification. I was able to reproduce the issue using the
material_ui1.3.0 example on Flutter 3.44.9, where the build fails withUndefined name 'awaitNotRequired'. The same example builds successfully on Flutter 3.47.4.The package declares Flutter
>=3.44.0, so this is actionable as a package compatibility issue. Routing to the team for further evaluation.wafir645fcqs12 commentedon Sep 16, 2026
WieFel commentedon Sep 17, 2026
I have the same issue.
I have an app running Flutter
3.44.2, and when I install a package which introducesmaterial_uias transitive dependency (e.g. https://pub.dev/packages/shimmer version4.0.0, usingflutter pub add <package>), I get the same error mentioned above:I would expect that, when running
flutter pub add <package>and installing any package, Flutter should be able to detect the last compatible package version, which doesn't usematerial_uiyet. But that is not the case right now.[material_ui, cupertino_ui] Bump Flutter version from to 3.47 (flutte…
github-actions commentedon Oct 5, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.