初步使用Flutter

Gao
### Flutter简单配置 国内访问加速: ```bash git clone https://github.com/flutter/flutter.git cd flutter export PATH=$(pwd)/bin:${PATH} export PUB_HOSTED_URL=https://pub.flutter-io.cn export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn ``` ### Flutter发布 ```bash flutter pub login flutter pub publish ``` * Fultter非常落后,不支持通过CI进行提交和发布,也不支持自动版本管理。 ### 生成APP图标 安装`flutter_launcher_icons_maker` 创建配置: ```yaml flutter_icons: android: true ios: true remove_alpha_ios: true macos: true windows: true linux: true web: true image_path: "assets/icon/icon.png" ``` 执行: ```bash flutter pub run flutter_launcher_icons_maker:main # or flutter pub run flutter_launcher_icons_maker:main -f icon.png ``` 即可根据图标自动生成所有平台需要的图标。