Error in a Flutter: null safety because dependencies don’t support null safety
Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:
don't support null safety:
Sep 14, 2021
To resolve this issue run application using the below command:
flutter run --no-sound-null-safety
To be specific (say in chrome)
flutter run -d chrome --no-sound-null-safety
if you are using IntelliJ idea or android studio: do like below.
add
--no-sound-null-safety in Aditional run args field
Thanks:
Hope this would be helpful.