Open Visual Studio Code, then press the Extensions icon (or press Ctrl+Shift+X), and find extension(s) with the keyword “dart” as illustrated below. You will see the Dart Code Extension appear in the first position in the results. Now, press “Install” for installation.
Read moreWhat is dart sdk path?
The Dart’s SDK is located at /flutter/bin/cache/dart-sdk . However, If Android Studio’s flutter plugin is installed, the plugin needs to be told where flutter’s SDK is located.
Read moreHow do you give a dart sdk path?
To fix this on Android Studio 3.1.
Read more