Home > Blockchain >  Error: Cannot run with sound null safety, because the following dependencies don't support null
Error: Cannot run with sound null safety, because the following dependencies don't support null

Time:04-01

Error: Cannot run with sound null safety, because the following dependencies don't support null safety:

  • package:emoji_picker_2

For solutions, see https://dart.dev/go/unsound-null-safety

CodePudding user response:

run the following to build your app without null safety or try another packaged.

flutter run --no-sound-null-safety

CodePudding user response:

Because that package doesn't shift to null Safety. For using this add //@dart=2.9 in main.dart file as mentioned here.

  • Related