how to create a new project in flutter 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: flutter create command

flutter create --org com.yourdomain your_app_name

Example 3: flutter create project command

flutter create --androidx -t app --org com.companyname.packagename -a kotlin -i swift myapp

Example 4: make new flutter project

flutter create -i swift -a kotlin --org com.yourdomain app_name