The current Dart SDK version is 2.10.4. how can I change the version into a upper version .? In a beta or dev channel
Update your pubspec.yaml depending on the flutter channel you want to work on:
If you are on stable
channel :
environment: sdk: ">=2.10.5 <3.0.0"dependencies: cupertino_icons: ^1.0.0
If you are on beta
channel :
environment: sdk: ">=2.12.0 <3.0.0"dependencies: cupertino_icons: ^1.0.1
Then if you are on stable channel (or beta),
flutter channel stable# or flutter channel betaflutter upgradeflutter pub get