Click on “main. dart” at top of IDE, and click on “Edit Configuration”. Note: You need to add Flutter and Dart plugin on android studio, otherwise this menu is not available. Copy: –no-sound-null-safety and add into “additional run args” .
How do you fix a null safety error in Flutter?
Click on “main. dart” at top of IDE, and click on “Edit Configuration”. Note: You need to add Flutter and Dart plugin on android studio, otherwise this menu is not available. Copy: –no-sound-null-safety and add into “additional run args” .