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 while executing code #50
Comments
I'm having the same problem, even with a new project: void main() { class MyApp extends StatefulWidget { class _MyAppState extends State { class AfterSplash extends StatelessWidget { ════════ Exception caught by widgets library ═══════════════════════════════════ The relevant error-causing widget was |
Thanks for this report, I will check it and push a new version soon. |
The if statement at line 83 should probably look something like this
|
Thanks, for me solved the issue 👍 |
Please find below the error message that I have received when I used the example file
Invalid argument(s): widget.routeName must be a String beginning with forward slash (/)
The relevant error-causing widget was:
LeviSplash file:///Users/*/Desktop/Flutter//lib/main.dart:7:13
When the exception was thrown, this was the stack:
#0 _SplashScreenState.initState (package:splashscreen/splashscreen.dart:86:7)
#1 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4765:58)
#2 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4601:5)
#3 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
#4 Element.updateChild (package:flutter/src/widgets/framework.dart:3324:20)
What should i do ?
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: