/FlutterSample

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

Primary LanguageDartApache License 2.0Apache-2.0

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