1.创建项目
flutter create <name>
2.下载依赖包
flutter pub get
3.清除依赖包
flutter clean
4.更新flutter依赖包
flutter packages upgrade
5.获取模拟器列表
flutter emulators
6.获取真机设备列表和iOS模拟器
flutter devices
7.运行指定模拟器或者真机
flutter run -d <deviceId>
8.运行所有模拟器(启动完再运行)
flutter run -d all
9.安卓打包
flutter build apk
10.ios打包
flutter build ios
11.查看flutter sdk分支
flutter channel
12.切换sdk分支
flutter channel stable
13.检查环境配置状态
flutter doctor
14.分析代码
flutter analyze
15.获取flutter所有命令
flutter
16.查看命令帮助信息
flutter -h