how to run dart on vs code code example
Example: how to run dart file in vscode
main. 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