In VS Code, you only need to use a shortcut to run your code. That shortcut is Ctrl + Alt + N .
Read moreHow do you run code in Visual Studio code Dart?
There is an easy way to create and run a Dart console application: Open VSCode. Press cmd + shift + p on Mac or ctrl + shift + p on windows. Choose Dart: New project.
Read more