Skip to content

Latest commit

 

History

History
90 lines (73 loc) · 6.57 KB

README.md

File metadata and controls

90 lines (73 loc) · 6.57 KB

FlutterSample

Flutter使用指南,包含众多组件和插件的使用

包含内容

组件

工具

第三方插件

插件查询

flutter插件平台

常用命令

1.编译:

  • flutter packages get: 获取flutter packages包

2.运行:

  • flutter run (默认为debug环境)
  • flutter run --release (以release模式运行)

3.安装

  • 帮助:flutter -hflutter --help
  • 诊断flutter:flutter doctor
  • 查看flutter版本号:flutter --version
  • flutter升级:flutter upgrade

4.打包apk包:

  • 直接打包: flutter build apk
  • 64位-release: flutter build apk --release --target-platform android-arm64
  • 32位-release: flutter build apk --release --target-platform android-arm