Clone的flutter工程需要执行以下命令
flutter create .
运行
flutter run
获取包
flutter packages get
Visual Studio Code调试Flutter常用快捷键
- P
显示网格线
- O
切换android和iOS显示
- D
取消虚拟机连接
- Q
退出调试
使用代码生成库序列化JSON
flutter packages pub run build_runner build
flutter create .
flutter run
flutter packages get
显示网格线
切换android和iOS显示
取消虚拟机连接
退出调试
flutter packages pub run build_runner build