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
Unhandled exception: type 'Null' is not a subtype of type 'Map<dynamic, dynamic>' in type cast #643
Comments
Please add your config. |
Closed due to inactivity. Feel free to reopen if you're still having trouble. |
I was experiencing the same issue. Though it's not an actual package issue, rather a documentation/usage one. I am adding this comment in case anybody else is confused. Steps to reproduce:
Full output of command:
What's going on? Also maybe helpful to note: The splash screen will get displayed despite the error, as the issue is just a usage one (only use one command/method). Future improvements
Hope this helps any future readers :) |
…. Thanks BujusKrachus for the detailed explanation.
Describe the bug
When I use this command
dart run flutter_native_splash:create --path=native_splash_generator.yaml
, an error appears like the image belowError -> Building package executable...
Built flutter_native_splash:create.
Unhandled exception:
type 'Null' is not a subtype of type 'Map<dynamic, dynamic>' in type cast
#0 getConfig (package:flutter_native_splash/cli_commands.dart:350:67)
#1 createSplash (package:flutter_native_splash/cli_commands.dart:42:18)
#2 main (file:///Users/macos/.pub-cache/hosted/pub.dev/flutter_native_splash-2.3.8/bin/create.dart:31:5)
#3 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:295:33)
#4 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
Screenshots
Please give me solution to fix this error
The text was updated successfully, but these errors were encountered: