Could not find an option named "no-sound-null-safety".
Run ‘flutter -h’ (or ‘flutter -h’) for available flutter commands and options.
Exited (1)
My Flutter version 3.10.6 &Dart version 3.0.6
Expecting to run in vs code
Could not find an option named "no-sound-null-safety".
Run ‘flutter -h’ (or ‘flutter -h’) for available flutter commands and options.
Exited (1)
My Flutter version 3.10.6 &Dart version 3.0.6
Expecting to run in vs code
2
Answers
I got this problem before.i think you should downgrade flutter version with your app compatible version. can be 3.7.12
From
flutter version 3.10.6
--no-sound-null-safety
tag was removedAnd this can not be used to run the project.
You have to make your project null safe to run the project using
flutter run
Remove all the dependencies which do not support
null safety
or use theirnull safe
version.And then run
flutter clean
->flutter pub get
->flutter run
This will successfully run your project.