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
Missing Null Safety on WidgetsBinding & SchedulerBinding #21
Comments
the same issue here :D |
You have to update for Flutter SDK version to 3.0.0. Or you can use nb_utils version 4.5.0. |
I am using Flutter 3.0, but still, it is giving the same errors. |
Please show errors here. |
../../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/nb_utils-4.5.1/lib/src/widgets/TimerWidget.dart:44:20: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
|
Ok, show flutter doctor command output. |
(base) dhanraj@192 ytcards % flutter doctor • No issues found! |
same error in my project also when implementing this package |
Upgrade this package to the latest version 4.5.2 and check if your issue is solved or not. |
Yes, All errors are gone. Working smoothly ✨ Thank you!!! |
It is solved with v4.5.2 & flutter 2.8.1. but this means I can't use later versions :( UPDATE: I upgraded to flutter 3 -> it is solved (in both 4.5.2 & the latest) |
The
image_editor_plus: ^0.1.3
package in our project, is using the latest version ofnb_utils: 4.5.1
.Our Flutter project's environment sdk contraints are:
When building the app for Android, the build fails with the following error:
It seems you have missed null safety on
WidgetsBinding
andSchedulerBinding
methods, causing the exception to be thrown. Can you get please provide a fix for this asap?The text was updated successfully, but these errors were encountered: