skip to Main Content

When I am running a flutter app I need to add this argument. Otherwise, the app is not working.

--no-sound-null-safety

Example:

flutter build apk --no-sound-null-safety

or

flutter run --no-sound-null-safety

It’s easy to add on android studio. (Edit configurations..). But, I didn’t know how to add this kind of argument on Xcode?

2

Answers


  1. Chosen as BEST ANSWER

    add EXTRA_FRONT_END_OPTIONS in User-Defined in Build Settings. value is --no-sound-null-safety


  2. just keep running code in vs or android studio then open in xcode it will not throw null safety issue for any deprecated package

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