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.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store