Download flutter SDK, add to path,
flutter create demo
demo is the name of the folder for flutter you want to create. {AppName}
first go to the directory, open ‘lib’ folder then, you can see the main.dart file
Now to run,
flutter run lib/main.dart
[Basically run the main.dart file with ‘flutter run’ command]
For hot reload, press ‘r’ in cmd, for hot restart press ‘Shift+r’.