initialize a project flutter code example Example 1: how to create flutter project in terminal $ flutter create myapp Example 2: flutter create new app flutter create myapp