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 moreHow do you run a dart command?
Run the app To run the app from the command line, use the Dart VM by running the dart run command in the app’s top directory : $ cd cli $ dart run Hello world: 42! If you want to run the app with debugging support, see Dart DevTools.
Read moreHow do you run a dart project?
Although Android Studio, a popular IDE for Flutter development, is built on IntelliJ, this book recommends that you use plain IntelliJ for pure Dart projects.
Read more