run flutter app from cmd code example
Example 1: build apk flutter command
flutter clean
flutter build apk
Example 2: how to create flutter project in terminal
$ flutter create myapp
flutter clean
flutter build apk
$ flutter create myapp