how to run dart code in vscode 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