diff --git a/README.md b/README.md index c9cfa1a..f3a8c76 100644 --- a/README.md +++ b/README.md @@ -45,4 +45,70 @@ $ flutter run -d chrome --web-browser-flag "--disable-web-security" --dart-defin $ flutter build ipa --dart-define=APP_ENV=production # android生产环境打包 $ flutter build apk --dart-define=APP_ENV=production -``` \ No newline at end of file +``` + +## package + +1. http请求dio(https://pub.dev/packages/dio/install) + + - 安装: + + ```bash + $ flutter pub add dio + ``` + +2. 数据处理freezed(https://pub.dev/packages/freezed) + + - 安装: + + ```bash + $ flutter pub add freezed_annotation + $ flutter pub add dev:build_runner + $ flutter pub add dev:freezed + $ flutter pub add json_annotation + $ flutter pub add dev:json_serializable + ``` + +3. 日志处理使logging(https://pub.dev/packages/logging) + + - 安装: + + ```bash + $ flutter pub add logging + ``` + +4. 路由go_router(https://pub.dev/packages/go_router) + + - 安装 + + ```bash + $ flutter pub add go_router + ``` + +5. 状态管理riverpod(https://pub.dev/packages/riverpod) + + - 安装: + + ```bash + $ flutter pub add riverpod + $ flutter pub add flutter_riverpod + ``` + +6. 微信sdk fluwx(https://pub.dev/packages/fluwx) + + - 安装 + + ```bash + $ flutter pub add fluwx + ``` + +7. 轻toast fluttertoast(https://pub.dev/packages/fluttertoast) + + - 安装 + + ```bash + $ flutter pub add fluttertoast + ``` + + +