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 moreHow do you give a dart sdk path?
To fix this on Android Studio 3.1.
Read moreDoes Flutter SDK include dart?
Note: The Flutter SDK includes the full Dart SDK , and has Dart’s dart command-line interface in its bin folder. Dart tools may send usage metrics and crash reports to Google.
Read more