记录基础组件和material组件的使用demo,路由管理,json反序列化以及其他第三方组件库的使用案例
# install dependencies
> flutter get packages
# dev
> flutter run
# 展示两种路由管理方式
# 第一种 fluro 以定义方式 route文件夹
# 第二种 annotation_route 以注解方式
# 生成路由映射关系相关操作命令
> flutter packages pub run build_runner clean
> flutter packages pub run build_runner build --delete-conflicting-outputs
-
生成json转实体类 相关操作命令
-
flutter packages pub run build_runner build -------------每次增加实体类需要手动构建一次
-
flutter packages pub run build_runner watch -------------构建一次动态监听
- 相关命令
- pub run intl_translation:extract_to_arb --output-dir=target/directory my_program.dart more_of_my_program.dart
> flutter pub pub run intl_translation:extract_to_arb --output-dir=lib/i10n lib/app_strings.dart
- pub run intl_translation:generate_from_arb --generated-file-prefix=<prefix> <my_dart_files> <translated_ARB_files>
> flutter pub pub run intl_translation:generate_from_arb --output-dir=lib/i10n lib/app_strings.dart lib/i10n/intl_en.arb lib/i10n/intl_zh.arb
- fluttertoast
- dio
- shared_preferences
- path_provider
- sqflite
- fish_redux
- transparent_image
- video_player
- flutter_localizations 本地化支持
- intl
- intl_translation
- (https://cloud.tencent.com/developer/article/1183327)
- 字体图标生成
- Flutter中文网
- Flutter官网
- Flutter中文开发者论坛
- Flutter|Dart语言中文社区
- Dart开源包
- 学习资料
- Flutter开源APP
- 深入理解Flutter Platform Channel
- 简书 - 闲鱼技术
- 奔溃收集
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.