-
Notifications
You must be signed in to change notification settings - Fork 89
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
Error: Method 'addPostFrameCallback' #81
Comments
➜ ~ flutter doctor -v [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 13.1) [✓] Android Studio (version 2021.1) [✓] VS Code (version 1.69.0) [✓] Connected device (1 available) [✓] HTTP Host Availability • No issues found! |
I have changed ...
# another_flushbar: ^1.10.29 # before
another_flushbar: 1.10.28 # after
# or
another_flushbar: <=1.10.28 # etc.
I guess this commit has changed the relevant code, then it started getting errors with Flutter which versions under 3.0.0. |
I propose to add a constraint on the version of Flutter in environment:
sdk: ...
flutter: '>=3.0.0' |
Please upgrade to flutter 3 and this issue will be resolved |
../../../../.pub-cache/hosted/pub.dartlang.org/another_flushbar-1.10.29/lib/flushbar.dart:350:31: Error: Method 'addPostFrameCallback'
cannot be called on 'SchedulerBinding?' because it is potentially null.
The text was updated successfully, but these errors were encountered: