liuyuqi-dellpc 1 year ago
parent
commit
22d090beaa

+ 5 - 12
README.md

@@ -1,16 +1,9 @@
 # flutter_habit
 
-A new Flutter project.
+习惯打卡app
 
-## Getting Started
+## Develop
 
-This project is a starting point for a Flutter application.
-
-A few resources to get you started if this is your first Flutter project:
-
-- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
-- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
-
-For help getting started with Flutter development, view the
-[online documentation](https://docs.flutter.dev/), which offers tutorials,
-samples, guidance on mobile development, and a full API reference.
+```
+flutter build apk --release
+```

+ 2 - 2
lib/common/BaseArchitectural.dart

@@ -4,8 +4,8 @@ import 'package:sqflite/sqflite.dart';
 
 import 'SqfliteDataBase.dart';
 
-abstract class BaseService extends ChangeNotifier {
-  BaseService(BuildContext context) {
+abstract class BaseProvider extends ChangeNotifier {
+  BaseProvider(BuildContext context) {
     init(context);
   }
 

+ 0 - 29
lib/common/I18N.dart

@@ -504,32 +504,3 @@ Map<String, Map<String, String>> wordMap = {
     "作业是否完成" : "Is homework completed",
   }
 };
-
-
-
-// A
-// B
-// C
-// D
-// E
-// F
-// G
-// H
-// I
-// J
-// K
-// L
-// M
-// N
-// O
-// P
-// Q
-// R
-// S
-// T
-// U
-// V
-// W
-// X
-// Y
-// Z

+ 1 - 1
lib/common/provider/UserProvider.dart

@@ -3,7 +3,7 @@ import 'dart:typed_data';
 
 import 'package:flutter/material.dart';
 import 'package:flutter_habit/common/LocalData.dart';
-import 'package:flutter_habit/view/HomePage.dart';
+import 'package:flutter_habit/view/home_page.dart';
 
 class UserProvider extends ChangeNotifier {
   String token;

+ 1 - 1
lib/main.dart

@@ -38,11 +38,11 @@ class MyApp extends StatelessWidget {
   Widget build(BuildContext context) {
     return MaterialApp(
       title: 'Flutter Demo',
+      debugShowCheckedModeBanner: false,
       theme: ThemeData(
         primarySwatch: Provider.of<ThemeProvider>(context).currentMaterialColor,
         brightness: Provider.of<ThemeProvider>(context).currentBrightness,
       ),
-//      home: LoadingPage(),
       home: LoadingPage(),
     );
   }

+ 0 - 8
lib/network/Api.dart

@@ -1,20 +1,12 @@
 class Api {
   static const String baseUrl = "http://106.15.249.67:8910/api";
 //  static const String baseUrl = "http://10.0.2.2/api";
-
   static const String token = "$baseUrl/permission/token";
-
   static const String authCode = "$baseUrl/permission/authCode";
-
   static const String user = "$baseUrl/user";
-
   static const String community = "$baseUrl/community";
-
   static const String shopping = "$baseUrl/shopping";
-
   static const String follow = "$community/follow";
-
-
   static const String coinTop = "$user/coinTop";
 
 }

+ 1 - 1
lib/network/Repository.dart

@@ -6,7 +6,7 @@ import 'package:flutter_habit/common/provider/UserProvider.dart';
 import 'package:flutter_habit/common/utils/ConvertUtils.dart';
 import 'package:provider/provider.dart';
 
-import 'Api.dart';
+import 'api.dart';
 import 'Status.dart';
 
 class Repository {

+ 19 - 0
lib/pages/home_page.dart

@@ -0,0 +1,19 @@
+import 'package:flutter/src/foundation/key.dart';
+import 'package:flutter/src/widgets/framework.dart';
+import 'package:flutter/src/widgets/placeholder.dart';
+/// Description: Home Page
+/// Time       : 08/18/2023 Friday
+/// Author     : liuyuqi.gov@msn.cn
+class HomePage extends StatefulWidget {
+  const HomePage({Key key}) : super(key: key);
+
+  @override
+  State<HomePage> createState() => _HomePageState();
+}
+
+class _HomePageState extends State<HomePage> {
+  @override
+  Widget build(BuildContext context) {
+    return const Placeholder();
+  }
+}

+ 4 - 0
lib/routes.dart

@@ -0,0 +1,4 @@
+class Routes {
+  static const String home = "/home";
+  static const String loading = "/loading";
+}

+ 5 - 2
lib/view/LoadingPage.dart

@@ -10,9 +10,12 @@ import 'package:flutter_habit/common/provider/DataProvider.dart';
 import 'package:flutter_habit/common/provider/NotificationProvider.dart';
 import 'package:flutter_habit/common/provider/UserProvider.dart';
 import 'package:flutter_habit/common/provider/ThemeProvider.dart';
-import 'package:flutter_habit/view/HomePage.dart';
+import 'package:flutter_habit/view/home_page.dart';
 import 'package:provider/provider.dart';
 
+/// Description:
+/// Time       : 08/17/2023 Thursday
+/// Author     : liuyuqi.gov@msn.cn
 class LoadingPage extends StatelessWidget {
   @override
   Widget build(BuildContext context) {
@@ -27,7 +30,7 @@ class LoadingPage extends StatelessWidget {
 }
 
 // service
-class LoadingPageService extends BaseService {
+class LoadingPageService extends BaseProvider {
   LoadingPageService(BuildContext context) : super(context);
 
   Timer timer;

+ 1 - 1
lib/view/context/BasicInfoContext.dart

@@ -23,7 +23,7 @@ class BasicInfoContext extends StatelessWidget {
 }
 
 // service
-class BasicInfoContextService extends BaseService {
+class BasicInfoContextService extends BaseProvider {
   BasicInfoContextService(BuildContext context) : super(context);
 
   void changeSizeOfWeightChartCard(BuildContext context) {

+ 1 - 1
lib/view/context/ExerciseInfoContext.dart

@@ -31,7 +31,7 @@ class ExerciseInfoContext extends StatelessWidget {
 }
 
 // service
-class ExerciseInfoContextService extends BaseService {
+class ExerciseInfoContextService extends BaseProvider {
   ExerciseInfoContextService(BuildContext context) : super(context);
 
   Future<void> cancelScheduledExercise(BuildContext context,

+ 1 - 1
lib/view/context/LifeInfoContext.dart

@@ -22,7 +22,7 @@ class LifeInfoContext extends StatelessWidget {
 }
 
 // service
-class LifeInfoContextService extends BaseService {
+class LifeInfoContextService extends BaseProvider {
   LifeInfoContextService(BuildContext context) : super(context);
 
   void changeSizeOfSleepTimeChartCard(BuildContext context) {

+ 1 - 1
lib/view/context/StudyInfoContext.dart

@@ -22,7 +22,7 @@ class StudyInfoContext extends StatelessWidget {
 }
 
 // service
-class StudyInfoContextService extends BaseService {
+class StudyInfoContextService extends BaseProvider {
   StudyInfoContextService(BuildContext context) : super(context);
 
   void changeSizeOfBwhChartCard(BuildContext context) {

+ 1 - 1
lib/view/drawer/community/FollowedPage.dart

@@ -52,7 +52,7 @@ class FollowedPageModel extends BaseModel {
 }
 
 // service
-class FollowedPageService extends BaseService {
+class FollowedPageService extends BaseProvider {
   FollowedPageService(BuildContext context) : super(context);
 
   Future<void> onUnFollowed(BuildContext context, int uid) async {

+ 1 - 1
lib/view/drawer/setting/DataManagementPage.dart

@@ -60,7 +60,7 @@ class DataManagementPageModel extends BaseModel {
 }
 
 // service
-class DataManagementPageService extends BaseService {
+class DataManagementPageService extends BaseProvider {
   DataManagementPageService(BuildContext context) : super(context);
 
   Future<void> restoreData(BuildContext context) async {

+ 1 - 1
lib/view/drawer/setting/ThemeSetPage.dart

@@ -18,7 +18,7 @@ class ThemeSetPage extends StatelessWidget {
 }
 
 // service
-class ThemeSetPageService extends BaseService {
+class ThemeSetPageService extends BaseProvider {
   ThemeSetPageService(BuildContext context) : super(context);
 
   bool isCurrent(BuildContext context, int index) {

+ 0 - 0
lib/view/drawer/shop/GoodsPage.dart → lib/view/drawer/setting/shop/GoodsPage.dart


+ 0 - 0
lib/view/drawer/shop/ShopPage.dart → lib/view/drawer/setting/shop/ShopPage.dart


+ 1 - 1
lib/view/drawer/user/setting/UserSettingPage.dart

@@ -43,7 +43,7 @@ class UserSettingPageModel extends BaseModel {
 }
 
 // service
-class UserSettingPageService extends BaseService {
+class UserSettingPageService extends BaseProvider {
   UserSettingPageService(BuildContext context) : super(context);
 
   Future<void> modifyAndUploadUserInfo(

+ 1 - 1
lib/view/drawer/user/sign/ModifyPwdPage.dart

@@ -73,7 +73,7 @@ class ModifyPwdPageModel extends BaseModel {
 }
 
 // service
-class ModifyPwdPageService extends BaseService {
+class ModifyPwdPageService extends BaseProvider {
   ModifyPwdPageService(BuildContext context) : super(context);
 
   String validatorEmail(String v) {

+ 1 - 1
lib/view/drawer/user/sign/SignInPage.dart

@@ -51,7 +51,7 @@ class SignInPageModel extends BaseModel {
 }
 
 // service
-class SignInPageService extends BaseService {
+class SignInPageService extends BaseProvider {
   SignInPageService(BuildContext context) : super(context);
 
   String validatorEmail(String v) {

+ 1 - 1
lib/view/drawer/user/sign/SignUpPage.dart

@@ -66,7 +66,7 @@ class SignUpPageModel extends BaseModel {
 }
 
 // service
-class SignUpPageService extends BaseService {
+class SignUpPageService extends BaseProvider {
   SignUpPageService(BuildContext context) : super(context);
 
   String validatorEmail(String v) {

+ 1 - 1
lib/view/HomePage.dart → lib/view/home_page.dart

@@ -45,7 +45,7 @@ class HomePageModel extends BaseModel {
 }
 
 // service
-class HomePageService extends BaseService {
+class HomePageService extends BaseProvider {
   HomePageService(BuildContext context) : super(context);
 
   void changeNavigation(BuildContext context, int index) {

+ 1 - 1
lib/view/record/BasicInfoRecordingPage.dart

@@ -51,7 +51,7 @@ class BasicInfoRecordingPageModel extends BaseModel {
 }
 
 // service
-class BasicInfoRecordingPageService extends BaseService {
+class BasicInfoRecordingPageService extends BaseProvider {
   BasicInfoRecordingPageService(BuildContext context) : super(context);
 
   Future<void> record(BuildContext context) async {

+ 1 - 1
lib/view/record/LifeInfoRecordingPage.dart

@@ -87,7 +87,7 @@ class LifeInfoRecordingPageModel extends BaseModel {
 }
 
 // service
-class LifeInfoRecordingPageService extends BaseService {
+class LifeInfoRecordingPageService extends BaseProvider {
   LifeInfoRecordingPageService(BuildContext context) : super(context);
 
   Future<void> signGetUp(BuildContext context) async {

+ 1 - 1
lib/view/record/StudyInfoRecordingPage.dart

@@ -54,7 +54,7 @@ class StudyInfoRecordingPageModel extends BaseModel {
 }
 
 // service
-class StudyInfoRecordingPageService extends BaseService {
+class StudyInfoRecordingPageService extends BaseProvider {
   StudyInfoRecordingPageService(BuildContext context) : super(context);
 
   void setIsLate(BuildContext context, int i) {

+ 79 - 79
pubspec.lock

@@ -6,7 +6,7 @@ packages:
     description:
       name: args
       sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "2.4.2"
   async:
@@ -14,7 +14,7 @@ packages:
     description:
       name: async
       sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "2.10.0"
   boolean_selector:
@@ -22,7 +22,7 @@ packages:
     description:
       name: boolean_selector
       sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "2.1.1"
   characters:
@@ -30,7 +30,7 @@ packages:
     description:
       name: characters
       sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "1.2.1"
   clock:
@@ -38,7 +38,7 @@ packages:
     description:
       name: clock
       sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "1.1.1"
   collection:
@@ -46,7 +46,7 @@ packages:
     description:
       name: collection
       sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "1.17.0"
   cross_file:
@@ -54,7 +54,7 @@ packages:
     description:
       name: cross_file
       sha256: "0b0036e8cccbfbe0555fd83c1d31a6f30b77a96b598b35a5d36dd41f718695e9"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "0.3.3+4"
   cupertino_icons:
@@ -62,7 +62,7 @@ packages:
     description:
       name: cupertino_icons
       sha256: e35129dc44c9118cee2a5603506d823bab99c68393879edb440e0090d07586be
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "1.0.5"
   dbus:
@@ -70,23 +70,23 @@ packages:
     description:
       name: dbus
       sha256: "6f07cba3f7b3448d42d015bfd3d53fe12e5b36da2423f23838efc1d5fb31a263"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "0.7.8"
   dio:
     dependency: "direct main"
     description:
       name: dio
-      sha256: "3866d67f93523161b643187af65f5ac08bc991a5bcdaf41a2d587fe4ccb49993"
-      url: "https://pub.dev"
+      sha256: ce75a1b40947fea0a0e16ce73337122a86762e38b982e1ccb909daa3b9bc4197
+      url: "https://pub.flutter-io.cn"
     source: hosted
-    version: "5.3.0"
+    version: "5.3.2"
   equatable:
     dependency: transitive
     description:
       name: equatable
       sha256: "8007a033720c056066dd1dc20bc2934cac91e271f0408c578aa26c7731618a03"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "1.2.6"
   fake_async:
@@ -94,7 +94,7 @@ packages:
     description:
       name: fake_async
       sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "1.3.1"
   ffi:
@@ -102,7 +102,7 @@ packages:
     description:
       name: ffi
       sha256: ed5337a5660c506388a9f012be0288fb38b49020ce2b45fe1f8b8323fe429f99
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "2.0.2"
   file:
@@ -110,7 +110,7 @@ packages:
     description:
       name: file
       sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "6.1.4"
   fl_chart:
@@ -118,7 +118,7 @@ packages:
     description:
       name: fl_chart
       sha256: "06546ca1befe340be717b03a5a5497b072d88c6c6609e12b0e36d20bd7e5151a"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "0.9.4"
   flutter:
@@ -131,7 +131,7 @@ packages:
     description:
       name: flutter_image_compress
       sha256: "2725cce5c58fdeaf1db8f4203688228bb67e3523a66305ccaa6f99071beb6dc2"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "2.0.4"
   flutter_image_compress_common:
@@ -139,7 +139,7 @@ packages:
     description:
       name: flutter_image_compress_common
       sha256: "8e7299afe109dc4b97fda34bf0f4967cc1fc10bc8050c374d449cab262d095b3"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "1.0.2"
   flutter_image_compress_platform_interface:
@@ -147,7 +147,7 @@ packages:
     description:
       name: flutter_image_compress_platform_interface
       sha256: "3c7e86da7540b1adfa919b461885a41a018d4a26544d0fcbeaa769f6542e603d"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "1.0.2"
   flutter_image_compress_web:
@@ -155,7 +155,7 @@ packages:
     description:
       name: flutter_image_compress_web
       sha256: e879189dc7f246dcf8f06c07ee849231341508bf51e8ed7d5dcbe778ddde0e81
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "0.1.3+1"
   flutter_local_notifications:
@@ -163,7 +163,7 @@ packages:
     description:
       name: flutter_local_notifications
       sha256: "3cc40fe8c50ab8383f3e053a499f00f975636622ecdc8e20a77418ece3b1e975"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "15.1.0+1"
   flutter_local_notifications_linux:
@@ -171,7 +171,7 @@ packages:
     description:
       name: flutter_local_notifications_linux
       sha256: "33f741ef47b5f63cc7f78fe75eeeac7e19f171ff3c3df054d84c1e38bedb6a03"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "4.0.0+1"
   flutter_local_notifications_platform_interface:
@@ -179,7 +179,7 @@ packages:
     description:
       name: flutter_local_notifications_platform_interface
       sha256: "7cf643d6d5022f3baed0be777b0662cce5919c0a7b86e700299f22dc4ae660ef"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "7.0.0+1"
   flutter_markdown:
@@ -187,7 +187,7 @@ packages:
     description:
       name: flutter_markdown
       sha256: dc6d5258653f6857135b32896ccda7f7af0c54dcec832495ad6835154c6c77c0
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "0.6.15"
   flutter_plugin_android_lifecycle:
@@ -195,7 +195,7 @@ packages:
     description:
       name: flutter_plugin_android_lifecycle
       sha256: f64fc84e913a3c225588724c811f5f6600562d17fc6f6cea7fda264fc93361ae
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "1.0.11"
   flutter_test:
@@ -213,7 +213,7 @@ packages:
     description:
       name: http_parser
       sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "4.0.2"
   image_crop:
@@ -221,7 +221,7 @@ packages:
     description:
       name: image_crop
       sha256: a580010f9e90b20581ecf5e8f4e9aa838cb935ea1497f9d1b196baa382b84a6d
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "0.4.1"
   image_picker:
@@ -229,7 +229,7 @@ packages:
     description:
       name: image_picker
       sha256: be333e667b7aa5606a7f0a22a8c7cc2286b0a8bf6ac977f7b8a48d650282e201
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "0.6.5+3"
   js:
@@ -237,7 +237,7 @@ packages:
     description:
       name: js
       sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "0.6.5"
   markdown:
@@ -245,7 +245,7 @@ packages:
     description:
       name: markdown
       sha256: acf35edccc0463a9d7384e437c015a3535772e09714cf60e07eeef3a15870dcd
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "7.1.1"
   matcher:
@@ -253,7 +253,7 @@ packages:
     description:
       name: matcher
       sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "0.12.13"
   material_color_utilities:
@@ -261,7 +261,7 @@ packages:
     description:
       name: material_color_utilities
       sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "0.2.0"
   meta:
@@ -269,7 +269,7 @@ packages:
     description:
       name: meta
       sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "1.8.0"
   nested:
@@ -277,7 +277,7 @@ packages:
     description:
       name: nested
       sha256: "03bac4c528c64c95c722ec99280375a6f2fc708eec17c7b3f07253b626cd2a20"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "1.0.0"
   path:
@@ -285,7 +285,7 @@ packages:
     description:
       name: path
       sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "1.8.2"
   path_drawing:
@@ -293,7 +293,7 @@ packages:
     description:
       name: path_drawing
       sha256: b3dd74e2210b2b71be3d3098b956dbab853ee43a86918b4bc20c9b9bd49f03f3
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "0.4.1+1"
   path_parsing:
@@ -301,55 +301,55 @@ packages:
     description:
       name: path_parsing
       sha256: "4e613c811d25f1533c0d05eb2755e21410247b8a13ac7f6cd23c0cecb2ff683d"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "0.1.4"
   path_provider_linux:
     dependency: transitive
     description:
       name: path_provider_linux
-      sha256: ffbb8cc9ed2c9ec0e4b7a541e56fd79b138e8f47d2fb86815f15358a349b3b57
-      url: "https://pub.dev"
+      sha256: ba2b77f0c52a33db09fc8caf85b12df691bf28d983e84cf87ff6d693cfa007b3
+      url: "https://pub.flutter-io.cn"
     source: hosted
-    version: "2.1.11"
+    version: "2.2.0"
   path_provider_platform_interface:
     dependency: transitive
     description:
       name: path_provider_platform_interface
-      sha256: "57585299a729335f1298b43245842678cb9f43a6310351b18fb577d6e33165ec"
-      url: "https://pub.dev"
+      sha256: bced5679c7df11190e1ddc35f3222c858f328fff85c3942e46e7f5589bf9eb84
+      url: "https://pub.flutter-io.cn"
     source: hosted
-    version: "2.0.6"
+    version: "2.1.0"
   path_provider_windows:
     dependency: transitive
     description:
       name: path_provider_windows
-      sha256: "1cb68ba4cd3a795033de62ba1b7b4564dace301f952de6bfb3cd91b202b6ee96"
-      url: "https://pub.dev"
+      sha256: ee0e0d164516b90ae1f970bdf29f726f1aa730d7cfc449ecc74c495378b705da
+      url: "https://pub.flutter-io.cn"
     source: hosted
-    version: "2.1.7"
+    version: "2.2.0"
   petitparser:
     dependency: transitive
     description:
       name: petitparser
       sha256: "49392a45ced973e8d94a85fdb21293fbb40ba805fc49f2965101ae748a3683b4"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "5.1.0"
   platform:
     dependency: transitive
     description:
       name: platform
-      sha256: "4a451831508d7d6ca779f7ac6e212b4023dd5a7d08a27a63da33756410e32b76"
-      url: "https://pub.dev"
+      sha256: "57c07bf82207aee366dfaa3867b3164e4f03a238a461a11b0e8a3a510d51203d"
+      url: "https://pub.flutter-io.cn"
     source: hosted
-    version: "3.1.0"
+    version: "3.1.1"
   plugin_platform_interface:
     dependency: transitive
     description:
       name: plugin_platform_interface
       sha256: "43798d895c929056255600343db8f049921cbec94d31ec87f1dc5c16c01935dd"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "2.1.5"
   provider:
@@ -357,7 +357,7 @@ packages:
     description:
       name: provider
       sha256: af58e866ea76fa7d156ea5e6ffa1c28b52dabff5c87fbdf265f7c6adaa7a741d
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "4.3.3"
   shared_preferences:
@@ -365,7 +365,7 @@ packages:
     description:
       name: shared_preferences
       sha256: "0344316c947ffeb3a529eac929e1978fcd37c26be4e8468628bac399365a3ca1"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "2.2.0"
   shared_preferences_android:
@@ -373,23 +373,23 @@ packages:
     description:
       name: shared_preferences_android
       sha256: fe8401ec5b6dcd739a0fe9588802069e608c3fdbfd3c3c93e546cf2f90438076
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "2.2.0"
   shared_preferences_foundation:
     dependency: transitive
     description:
       name: shared_preferences_foundation
-      sha256: f39696b83e844923b642ce9dd4bd31736c17e697f6731a5adf445b1274cf3cd4
-      url: "https://pub.dev"
+      sha256: d29753996d8eb8f7619a1f13df6ce65e34bc107bef6330739ed76f18b22310ef
+      url: "https://pub.flutter-io.cn"
     source: hosted
-    version: "2.3.2"
+    version: "2.3.3"
   shared_preferences_linux:
     dependency: transitive
     description:
       name: shared_preferences_linux
       sha256: "71d6806d1449b0a9d4e85e0c7a917771e672a3d5dc61149cc9fac871115018e1"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "2.3.0"
   shared_preferences_platform_interface:
@@ -397,7 +397,7 @@ packages:
     description:
       name: shared_preferences_platform_interface
       sha256: "23b052f17a25b90ff2b61aad4cc962154da76fb62848a9ce088efe30d7c50ab1"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "2.3.0"
   shared_preferences_web:
@@ -405,7 +405,7 @@ packages:
     description:
       name: shared_preferences_web
       sha256: "7347b194fb0bbeb4058e6a4e87ee70350b6b2b90f8ac5f8bd5b3a01548f6d33a"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "2.2.0"
   shared_preferences_windows:
@@ -413,7 +413,7 @@ packages:
     description:
       name: shared_preferences_windows
       sha256: f95e6a43162bce43c9c3405f3eb6f39e5b5d11f65fab19196cf8225e2777624d
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "2.3.0"
   sky_engine:
@@ -426,7 +426,7 @@ packages:
     description:
       name: source_span
       sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "1.9.1"
   sqflite:
@@ -434,7 +434,7 @@ packages:
     description:
       name: sqflite
       sha256: b4d6710e1200e96845747e37338ea8a819a12b51689a3bcf31eff0003b37a0b9
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "2.2.8+4"
   sqflite_common:
@@ -442,7 +442,7 @@ packages:
     description:
       name: sqflite_common
       sha256: "8f7603f3f8f126740bc55c4ca2d1027aab4b74a1267a3e31ce51fe40e3b65b8f"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "2.4.5+1"
   stack_trace:
@@ -450,7 +450,7 @@ packages:
     description:
       name: stack_trace
       sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "1.11.0"
   stream_channel:
@@ -458,7 +458,7 @@ packages:
     description:
       name: stream_channel
       sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "2.1.1"
   string_scanner:
@@ -466,7 +466,7 @@ packages:
     description:
       name: string_scanner
       sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "1.2.0"
   synchronized:
@@ -474,7 +474,7 @@ packages:
     description:
       name: synchronized
       sha256: "5fcbd27688af6082f5abd611af56ee575342c30e87541d0245f7ff99faa02c60"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "3.1.0"
   term_glyph:
@@ -482,7 +482,7 @@ packages:
     description:
       name: term_glyph
       sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "1.2.1"
   test_api:
@@ -490,7 +490,7 @@ packages:
     description:
       name: test_api
       sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "0.4.16"
   timezone:
@@ -498,7 +498,7 @@ packages:
     description:
       name: timezone
       sha256: "1cfd8ddc2d1cfd836bc93e67b9be88c3adaeca6f40a00ca999104c30693cdca0"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "0.9.2"
   typed_data:
@@ -506,7 +506,7 @@ packages:
     description:
       name: typed_data
       sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "1.3.2"
   vector_math:
@@ -514,7 +514,7 @@ packages:
     description:
       name: vector_math
       sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "2.1.4"
   win32:
@@ -522,23 +522,23 @@ packages:
     description:
       name: win32
       sha256: "5a751eddf9db89b3e5f9d50c20ab8612296e4e8db69009788d6c8b060a84191c"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "4.1.4"
   xdg_directories:
     dependency: transitive
     description:
       name: xdg_directories
-      sha256: e0b1147eec179d3911f1f19b59206448f78195ca1d20514134e10641b7d7fbff
-      url: "https://pub.dev"
+      sha256: f0c26453a2d47aa4c2570c6a033246a3fc62da2fe23c7ffdd0a7495086dc0247
+      url: "https://pub.flutter-io.cn"
     source: hosted
-    version: "1.0.1"
+    version: "1.0.2"
   xml:
     dependency: transitive
     description:
       name: xml
       sha256: "979ee37d622dec6365e2efa4d906c37470995871fe9ae080d967e192d88286b5"
-      url: "https://pub.dev"
+      url: "https://pub.flutter-io.cn"
     source: hosted
     version: "6.2.2"
 sdks: