skip to Main Content

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


  1. I got this problem before.i think you should downgrade flutter version with your app compatible version. can be 3.7.12

    Login or Signup to reply.
  2. From flutter version 3.10.6 --no-sound-null-safety tag was removed

    And 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 their null safe version.

    And then run flutter clean -> flutter pub get -> flutter run

    This will successfully run your project.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search