Flutter常用命令
Flutter常用命令
Alexflutter常用命令
- 设备列表:
flutter emulators
- 创建应用:
flutter create my_app
- 运行应用:
flutter run
- 环境检查:
flutter doctor
- 开启一个模拟器:
open -a Simulator
- 依赖:
flutter packages get
pub get packages
镜像
1 | export PUB_HOSTED_URL=https://pub.flutter-io.cn |