I am trying to run the code on below project but has been noticing the error about Dart SK version (See below error).
Tried: pub get on YML file, get dependencies on main.dart file but same error. Any help? I read earlier resolution which says adding the version at YML file but it did not work. I also, installed the 2.17.6 in my machine and configured the Environment variable but no luck. Help please
Project from Github: git clone https://github.com/flutter/codelabs.git cd codelabs/boring_to_beautiful/step_01/
Error on Android Studio:
Waiting for another flutter command to release the startup lock...
Running "flutter pub get" in step_01...
The current Dart SDK version is 2.17.1.
Because myartist requires SDK version >=2.17.6 <3.3.0, version solving failed. pub get failed (1; Because myartist requires SDK version >=2.17.6 <3.3.0, version solving failed.) Process finished with exit code 1
The pubspec.yml has below environment: sdk: ">=2.17.6 <3.3.0"