-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version conflicts with Flutter 3.x #18
Comments
Hello there! It would seem Flutter has changed some things allowing the 'null operator' (!) to no longer be necessary. Note, they are not errors, I believe, but Warnings. With that, your app should still be able to run...only with warnings. Greg |
Hello Greg, of course you are right, it is only a warning and not an error, the app builds and starts perfectly :) Thanks for looking into it! Bernhard |
Latest update have addressed the warning messages. |
Thanks a lot! :) |
Hey there,
I am using mvc_application 8.12.0. I did an update for my app to Flutter 3. After solving some issues, I can not resolve these last three errors, mostly because I think those are dependencies in mvc_application. Do someone know any solution?
~/flutter/.pub-cache/hosted/pub.dartlang.org/l10n_translator-3.0.1/lib/src/l10n.dart:382:42: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
final systemLocales = WidgetsBinding.instance!.window.locales;
^
~/flutter/.pub-cache/hosted/pub.dartlang.org/mvc_application-8.12.0/lib/src/view/app_navigator.dart:405:34: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
String path = WidgetsBinding.instance!.window.defaultRouteName;
^
~/flutter/.pub-cache/hosted/pub.dartlang.org/mvc_application-8.12.0/lib/src/view/app.dart:188:34: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
_window ??= WidgetsBinding.instance!.window;
Flutter Doctor (essential part)
[√] Flutter (Channel stable, 3.0.1, on Microsoft Windows [Version 10.0.19043.1706], locale de-DE)
Thanks for help me! :)
The text was updated successfully, but these errors were encountered: