════════ Exception caught by rendering library ═════════════════════════════════
The following assertion was thrown during paint():
'dart:ui/painting.dart': Failed assertion: line 193: '<optimized out>': is not true.
The relevant error-causing widget was
FlareActor
lib/…/welcome/welcome.dart:163
When the exception was thrown, this was the stack
#2 Color.withOpacity (dart:ui/painting.dart:193:12)
#3 FlutterActorLayerEffectRenderer.draw
package:flare_flutter/flare.dart:1381
#4 FlutterActorArtboard.draw
package:flare_flutter/flare.dart:874
#5 FlareActorRenderObject.paintFlare
package:flare_flutter/flare_actor.dart:504
#6 FlareRenderBox.paint
package:flare_flutter/flare_render_box.dart:217
...
The following RenderObject was being processed when the exception was fired: FlareActorRenderObject#eb1f1
RenderObject: FlareActorRenderObject#eb1f1
parentData: offset=Offset(0.0, 0.0); flex=1; fit=FlexFit.tight (can use size)
Flutter doctor:
[✓] Flutter (Channel dev, 1.21.0-7.0.pre, on Mac OS X 10.15.6 19G73, locale en-US)
• Flutter version 1.21.0-7.0.pre at /Users/andrewcoutts/Projects/flutter
• Framework revision 5a6dfa35ca (10 days ago), 2020-08-03 10:33:07 -0700
• Engine revision 083282e33b
• Dart version 2.10.0 (build 2.10.0-4.0.dev 365525432a)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/andrewcoutts/Library/Android/sdk
• Platform android-30, build-tools 29.0.3
• ANDROID_HOME = /Users/andrewcoutts/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.6, Build version 11E708
• CocoaPods version 1.9.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 46.0.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.47.3)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.12.1
[✓] Connected device (4 available)
• Android SDK built for x86 64 (mobile) • emulator-5554 • android-x64 • Android 10 (API 29) (emulator)
• iPhone SE (2nd generation) (mobile) • 476F4C67-CC2F-49FF-9145-13ABBECEECA5 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-6 (simulator)
• Web Server (web) • web-server • web-javascript • Flutter Tools
• Chrome (web) • chrome • web-javascript • Google Chrome 84.0.4147.125
• No issues found!
When I try to use this animation, I get the following exception every time it runs. It affects both iOS and Android equally.
Version:
Animation that is broken: SELFIE.flr.zip
Error:
Flutter doctor: