-4

The lower bound of "sdk: '>=2.10.0 <3.0.0'" must be 2.12.0' or higher to enable null safety.

The current Dart SDK (3.0.0) only supports null safety.

For details, see https://dart.dev/null-safety

anyone can help me because i give up with this

i actually run it and try but problem of my project got 614 i have done flutter pub get beforeproblem is 614

1 Answers1

2

Dart 3.0 doesn't support non-null safe code at all. Therefore, using an install of Dart 3.0 means you won't be able to work on a ny project who's defined SDK range includes a non-null safe Dart version.

You need to migrate your project to null safety: https://dart.dev/null-safety/migration-guide. Then you can work up to the latest Flutter version (I'd recommend doing it incrementally to ensure you don't miss anything).

JaffaKetchup
  • 1,151
  • 10
  • 26