flutter create new project terminal code example
Example 1: flutter create new project
$ flutter create my_app
$ cd my_app
$ flutter analyze
$ flutter test
$ flutter run lib/main.dart
Example 2: how to create flutter project in terminal
$ flutter create myapp