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 in new Flutter 3 #107
Comments
Same issue |
This a a flare issue, for the moment it is safe to ignore is more like a warning. When they fixed i will update de version of dependency. |
@marcos930807 |
Nok work . When they fixed i will update de version of dependency. |
Flare is not maintained anymore. You have to migrate to Rive 2 instead. |
There is no easy migration from flare to Rive. Rive 2 is not fully backguard compatible, i do not have time to recreate al animation in rive2. So by now i will be using dependency override for the flare package pointing to a PR with the Fix. |
If you still get issue using dependency override put it like this:
It should work without a problem. |
The version 3.0 is out with new Rive runtime for animation a some other changes. Now the problem is gone. |
../../../../System/flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-3.0.2/lib/flare_render_box.dart:167:26: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
SchedulerBinding.instance?.cancelFrameCallbackWithId(_frameCallbackID);
^
../../../../System/flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-3.0.2/lib/flare_render_box.dart:170:28: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
SchedulerBinding.instance?.scheduleFrameCallback(_beginFrame) ?? -1;
^
../../../../System/flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-3.0.2/lib/flare_render_box.dart:272:26: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
SchedulerBinding.instance?.cancelFrameCallbackWithId(_frameCallbackID);
The text was updated successfully, but these errors were encountered: