'How to add flutter run time arguments to Xcode

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?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source