View -> Command Palette(Ctrl+Shift+P) -> Dart: New Project -> Console Application -> mydartProjectmain. dart file will show up. Hit Ctrl + F5 to run or Run, Run without debugging. In the Debug Console window, you will see the result. or flutter run in the terminal