We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: Exception: LateInitializationError: Field '_paint@268459774' has not been initialized. #0 FlutterActorImage._paint (package:flare_flutter/flare.dart) #1 FlutterActorImage.onBlendModeChanged (package:flare_flutter/flare.dart:505:5) #2 FlutterActorDrawable.blendMode= (package:flare_flutter/flare.dart:226:5) #3 FlutterActorDrawable.blendModeId= (package:flare_flutter/flare.dart:234:5) #4 ActorDrawable.read (package:flare_flutter/base/actor_drawable.dart:77:17) #5 ActorImage.read (package:flare_flutter/base/actor_image.dart:305:19) #6 ActorArtboard.readComponentsBlock (package:flare_flutter/base/actor_artboard.dart:387:34) #7 ActorArtboard.read (package:flare_flutter/base/actor_artboard.dart:349:11)
onBlendModeChanged
_paint
ActorDrawable read -> set blendModeId
late ui.Paint
@override void onBlendModeChanged(ui.BlendMode mode) { _paint.blendMode = mode; onPaintUpdated(_paint); }
The text was updated successfully, but these errors were encountered:
fix 2d-inc#313 2d-inc#312 onBlendModeChanged _paint LateInitializatio…
502250b
…nError
8dbdfd6
Thank you very much, this also solved my problem
Sorry, something went wrong.
Please, release this fix to pub.
I just migrated my app to nullsafety, but old animations don't work )
E/flutter (15494): [ERROR:flutter/shell/common/shell.cc(94)] Dart Unhandled Exception: Exception: LateInitializationError: Field '_paint@356459774' has not been initialized., stack trace: #0 FlutterActorImage._paint (package:flare_flutter/flare.dart) E/flutter (15494): #1 FlutterActorImage.onBlendModeChanged (package:flare_flutter/flare.dart:505:5) E/flutter (15494): #2 FlutterActorDrawable.blendMode= (package:flare_flutter/flare.dart:226:5) E/flutter (15494): #3 FlutterActorDrawable.blendModeId= (package:flare_flutter/flare.dart:234:5) ...
No branches or pull requests
In
onBlendModeChanged
Function,_paint
never initialized whenActorDrawable read -> set blendModeId
,but_paint
soundlate ui.Paint
The text was updated successfully, but these errors were encountered: