you can run your project with --no-sound-null-safety so now you add this line your main.dart file in top(first line) with comment.. //@dart=2.9 (the 'd' here is lower case)