Skip to content
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

Broken in Flutter 3.0.0 #10

Open
ultimate-tester opened this issue May 18, 2022 · 0 comments
Open

Broken in Flutter 3.0.0 #10

ultimate-tester opened this issue May 18, 2022 · 0 comments

Comments

@ultimate-tester
Copy link

ultimate-tester commented May 18, 2022

As of Flutter 3.0.0, the SplashScreen is completely broken. It crashes with the exception and trace:

======== Exception caught by scheduler library =====================================================
The following _CastError was thrown during a scheduler callback:
Null check operator used on a null value

When the exception was thrown, this was the stack: 
#0      SplashScreen.build.<anonymous closure> (package:rive_splash_screen/rive_splash_screen.dart:130:18)
#1      _RiveLoadingState._finished.<anonymous closure> (package:rive_loading/rive_loading.dart:134:25)
#2      SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1146:15)
#3      SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1091:9)
#4      SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:997:5)

From user perspective a fix is to assign the onError function, then it will work without issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant