Add path to flutter sdks as below:
Read moreHow do I switch to older version of flutter?
Show activity on this post.
Read moreAre there two versions of flutter?
In case you have projects in different Flutter SDK versions and do not want to upgrade.
Read moreWhere is my Dart SDK installed?
Open your Android Studio preferences(Command + ‘,’) and go to Languages and Frameworks>Dart . Under the Dart menu, you should be able to enter your Dart SDK path.
Read moreHow do I check my Dart version in flutter?
You’ll see something like below in your terminal window: Doctor summary (to see all details, run flutter doctor -v ): [✓] Flutter (Channel stable, 2.10. 3, on macOS 12.1 21C52 darwin-x64, locale en) [✓] Android toolchain – develop for Android devices (Android SDK version 31.0.
Read moreHow do I install Dart on Windows 10?
How to install Dart on Windows?
Read more