This application is not configured to build on the web. To add web support to a project, run flutter create.
. Launching lib\main.dart on Chrome in debug mode... Waiting for connection from debug service on Chrome... Error: Cannot run with sound null safety, because the following dependencies don't support null safety:
For solutions, see https://dart.dev/go/unsound-null-safety Unhandled exception:
You will need at least version 3.0.0 of that package to have null safety.
Given that they are at version 5.0.0 right now, you should probably update your packages every once in a while.
Edited:
you will need to latest version and if you want to run without latest version you need to run this command
$ flutter run --no-sound-null-safety
If you want to run without latest version you need to Update the Configuration File,
Then,
Add --no-sound-null-safety
in Additional run args.
Add Command in Additional run args
Then, Click Apply and Run the app.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.