李志伟 3 лет назад
Родитель
Сommit
72577b2160

+ 4
- 0
lib/main.dart Просмотреть файл

@@ -1,4 +1,5 @@
1 1
 import 'package:flutter/material.dart';
2
+import 'package:flutter_easyloading/flutter_easyloading.dart';
2 3
 import 'package:flutter_screenutil/flutter_screenutil.dart';
3 4
 import 'package:get/get.dart';
4 5
 import 'package:get_storage/get_storage.dart';
@@ -19,6 +20,7 @@ class MyApp extends StatelessWidget {
19 20
   // This widget is the root of your application.
20 21
   @override
21 22
   Widget build(BuildContext context) {
23
+
22 24
     return ScreenUtilInit(
23 25
       designSize: const Size(375, 812),
24 26
       minTextAdapt: true,
@@ -31,6 +33,8 @@ class MyApp extends StatelessWidget {
31 33
           routingCallback: routingCallback,
32 34
           initialBinding: AppBindings(),
33 35
           getPages: pages,
36
+          builder: EasyLoading.init(),
37
+
34 38
         );
35 39
       },
36 40
     );

+ 4
- 0
lib/pages/bankList/index.dart Просмотреть файл

@@ -1,5 +1,6 @@
1 1
 import 'package:dotted_border/dotted_border.dart';
2 2
 import 'package:flutter/material.dart';
3
+import 'package:flutter_easyloading/flutter_easyloading.dart';
3 4
 import 'package:flutter_screenutil/flutter_screenutil.dart';
4 5
 import 'package:fluttertoast/fluttertoast.dart';
5 6
 import 'package:get/get.dart';
@@ -29,6 +30,7 @@ class BankListPages extends BasicPage {
29 30
 
30 31
   void getList() {
31 32
     if (bankCardListStore.bankCardList().isEmpty) {
33
+      EasyLoading.show(status: '数据加载中...');
32 34
       getBankCardList({'pageSize': 500}).then((res) {
33 35
         getBankList({'pageSize': 500}).then((res2) {
34 36
           var list1 = <BankCardModel>[];
@@ -53,6 +55,8 @@ class BankListPages extends BasicPage {
53 55
             list1.add(item);
54 56
           }
55 57
           bankCardListStore.bankCardList(list1);
58
+          EasyLoading.dismiss();
59
+
56 60
         });
57 61
       });
58 62
     }

+ 2
- 0
lib/pages/home/index.dart Просмотреть файл

@@ -21,12 +21,14 @@ class Home extends BasicPage {
21 21
     tabIndex = 0;
22 22
     naviTitle = '首页';
23 23
   }
24
+
24 25
   final bannerList = Rx<List<BannerModel>>([]);
25 26
   final jobList = Rx<List<Job>>([]);
26 27
   final job = Rx<Job>(Job());
27 28
 
28 29
   void beforeShow() {
29 30
     super.beforeShow();
31
+
30 32
     getBannerList('bannerWorker').then((res) {
31 33
       List<BannerModel> list = [];
32 34
       for (var item in res) {

+ 88
- 2
lib/pages/withdrawal/index.dart Просмотреть файл

@@ -3,8 +3,10 @@ import 'package:flutter/material.dart';
3 3
 import 'package:flutter_picker/Picker.dart';
4 4
 import 'package:flutter_screenutil/flutter_screenutil.dart';
5 5
 import 'package:get/get.dart';
6
+
6 7
 import 'package:worker_client/widgets/MoneyCard/index.dart';
7 8
 
9
+
8 10
 import '../../widgets/MyButton/index.dart';
9 11
 import '../../widgets/layout/BasicPage.dart';
10 12
 
@@ -13,11 +15,34 @@ class MyWithdrawal extends BasicPage {
13 15
   MyWithdrawal({Key? key}) : super(key: key) {
14 16
     naviTitle = '我的钱包';
15 17
   }
18
+
16 19
   final bankBrand = Rx<Map>({});
17 20
 
18 21
 
19
-  @override
22
+    @override
23
+  void beforeShow() {
24
+    // TODO: implement beforeShow
25
+    super.beforeShow();
26
+    // Loading.before('2222');
27
+
28
+
29
+    }
30
+
31
+  // void _showDialog(BuildContext,context) {
32
+  //   BuildContext dialogContext;
33
+  //
34
+  //   Navigator.pop(dialogContext);
35
+  //   showDialog(
36
+  //       context: context,
37
+  //       builder: (BuildContext context) {
38
+  //         dialogContext = context;
39
+  //         return LoadingDialog(true);
40
+  //       });
41
+  // }
42
+
43
+    @override
20 44
   Widget builder(BuildContext context) {
45
+
21 46
     return
22 47
         Container(
23 48
           alignment: Alignment.center,
@@ -130,7 +155,6 @@ class MyWithdrawal extends BasicPage {
130 155
                   children: <Widget>[
131 156
                     Container(
132 157
                       width:360.w,
133
-
134 158
                       height:65.w ,
135 159
                       alignment:Alignment.center,
136 160
                       child:   MyButton(
@@ -138,6 +162,66 @@ class MyWithdrawal extends BasicPage {
138 162
                           type:  0,
139 163
                           disable: false,
140 164
                           onClick: (){
165
+                            // showDialog(
166
+                            //     context: context,
167
+                            //     barrierDismissible: false, //点击遮罩不关闭对话框
168
+                            //     builder: (BuildContext context) {
169
+                            //       return LoadingDialog();
170
+                            //     });
171
+                              // showDialog(
172
+                              //   context: context,
173
+                              //   barrierDismissible: false, //点击遮罩不关闭对话框
174
+                              //   builder: (context) {
175
+                              //     return AlertDialog(
176
+                              //       content: Column(
177
+                              //         mainAxisSize: MainAxisSize.min,
178
+                              //         children: <Widget>[
179
+                              //           CircularProgressIndicator(),
180
+                              //           Padding(
181
+                              //             padding: const EdgeInsets.only(top: 26.0),
182
+                              //             child: Text("正在加载,请稍后..."),
183
+                              //           )
184
+                              //         ],
185
+                              //       ),
186
+                              //     );
187
+                              //   },
188
+                              // );
189
+                            showDialog(
190
+                              context: context,
191
+                              builder: (context) {
192
+                                // 用Scaffold返回显示的内容,能跟随主题
193
+                                return Scaffold(
194
+                                  backgroundColor: Colors.transparent, // 设置透明背影
195
+                                  body: Center( // 居中显示
196
+                                    child: Column( // 定义垂直布局
197
+                                      mainAxisAlignment: MainAxisAlignment.center, // 主轴居中布局,相关介绍可以搜下flutter-ui的内容
198
+                                      children: <Widget>[
199
+                                        // CircularProgressIndicator自带loading效果,需要宽高设置可在外加一层sizedbox,设置宽高即可
200
+                                        CircularProgressIndicator(),
201
+                                        SizedBox(
202
+                                          height: 10,
203
+                                        ),
204
+                                        Text('loading'), // 文字
205
+                                        // 触发关闭窗口
206
+                                        RaisedButton(
207
+                                          child: Text('close dialog'),
208
+                                          onPressed: () {
209
+                                            Navigator.of(context, rootNavigator: true).pop();
210
+                                            print('close');
211
+                                          },
212
+                                        ),
213
+                                      ],
214
+                                    ), // 自带loading效果,需要宽高设置可在外加一层sizedbox,设置宽高即可
215
+                                  ),
216
+                                );
217
+                              },
218
+                            );
219
+                              // setTimeout((){
220
+                              //   // Navigator.of(context).pop( Loading(canceledOnTouchOutside: false,));
221
+                              //   Navigator.pop(context);
222
+                              //
223
+                              // }, 4000);
224
+
141 225
                               print('ok');
142 226
 
143 227
                           }
@@ -178,6 +262,8 @@ class MyWithdrawal extends BasicPage {
178 262
     );
179 263
     picker.showModal(context);
180 264
   }
265
+
266
+
181 267
 }
182 268
 
183 269
 

+ 3
- 1
lib/utils/Request.dart Просмотреть файл

@@ -4,6 +4,7 @@ import 'package:dio/dio.dart';
4 4
 import 'package:get/get.dart';
5 5
 import 'package:get_storage/get_storage.dart';
6 6
 
7
+
7 8
 class Response {
8 9
   late int code;
9 10
   String? message;
@@ -37,6 +38,7 @@ Dio createRequest() {
37 38
 
38 39
   var dio = Dio(options);
39 40
   dio.interceptors.add(InterceptorsWrapper(onRequest: (options, handler) {
41
+
40 42
     // Do something before request is sent
41 43
     options.headers['Authorization'] = GetStorage().read("token");
42 44
     return handler.next(options); //continue
@@ -44,7 +46,6 @@ Dio createRequest() {
44 46
     var resp = response.data as Map<String, dynamic>;
45 47
     if (resp['code'] == 1000) {
46 48
       response.data = resp['data'];
47
-
48 49
       try {
49 50
         var data = response.data as Map<String, dynamic>;
50 51
         if (null != data['token']) {
@@ -60,6 +61,7 @@ Dio createRequest() {
60 61
           requestOptions: response.requestOptions,
61 62
           error: response.data,
62 63
           response: response);
64
+
63 65
       return handler.reject(error);
64 66
     }
65 67
   }, onError: (DioError e, handler) {

+ 3
- 0
lib/widgets/layout/BasicPage.dart Просмотреть файл

@@ -6,6 +6,7 @@ import 'package:get/get.dart';
6 6
 import 'barList.dart';
7 7
 
8 8
 abstract class BasicPage extends StatefulWidget {
9
+
9 10
   // 导航标题
10 11
   // 用法 naviTitle = xxxx
11 12
   final _title = Rx<String>("");
@@ -100,7 +101,9 @@ class _BasicPageState extends State<BasicPage> {
100 101
 
101 102
   @override
102 103
   Widget build(BuildContext context) {
104
+
103 105
     return Scaffold(
106
+
104 107
       resizeToAvoidBottomInset: false,
105 108
       appBar: _getAppBar(),
106 109
       body: SafeArea(

+ 92
- 78
pubspec.lock Просмотреть файл

@@ -5,175 +5,175 @@ packages:
5 5
     dependency: transitive
6 6
     description:
7 7
       name: _fe_analyzer_shared
8
-      url: "https://pub.dartlang.org"
8
+      url: "https://pub.flutter-io.cn"
9 9
     source: hosted
10 10
     version: "39.0.0"
11 11
   amap_flutter_base:
12 12
     dependency: transitive
13 13
     description:
14 14
       name: amap_flutter_base
15
-      url: "https://pub.dartlang.org"
15
+      url: "https://pub.flutter-io.cn"
16 16
     source: hosted
17 17
     version: "3.0.0"
18 18
   amap_flutter_location:
19 19
     dependency: "direct main"
20 20
     description:
21 21
       name: amap_flutter_location
22
-      url: "https://pub.dartlang.org"
22
+      url: "https://pub.flutter-io.cn"
23 23
     source: hosted
24 24
     version: "3.0.0"
25 25
   amap_flutter_map:
26 26
     dependency: "direct main"
27 27
     description:
28 28
       name: amap_flutter_map
29
-      url: "https://pub.dartlang.org"
29
+      url: "https://pub.flutter-io.cn"
30 30
     source: hosted
31 31
     version: "3.0.0"
32 32
   analyzer:
33 33
     dependency: transitive
34 34
     description:
35 35
       name: analyzer
36
-      url: "https://pub.dartlang.org"
36
+      url: "https://pub.flutter-io.cn"
37 37
     source: hosted
38 38
     version: "4.0.0"
39 39
   args:
40 40
     dependency: transitive
41 41
     description:
42 42
       name: args
43
-      url: "https://pub.dartlang.org"
43
+      url: "https://pub.flutter-io.cn"
44 44
     source: hosted
45 45
     version: "2.3.0"
46 46
   async:
47 47
     dependency: transitive
48 48
     description:
49 49
       name: async
50
-      url: "https://pub.dartlang.org"
50
+      url: "https://pub.flutter-io.cn"
51 51
     source: hosted
52 52
     version: "2.8.2"
53 53
   boolean_selector:
54 54
     dependency: transitive
55 55
     description:
56 56
       name: boolean_selector
57
-      url: "https://pub.dartlang.org"
57
+      url: "https://pub.flutter-io.cn"
58 58
     source: hosted
59 59
     version: "2.1.0"
60 60
   build:
61 61
     dependency: transitive
62 62
     description:
63 63
       name: build
64
-      url: "https://pub.dartlang.org"
64
+      url: "https://pub.flutter-io.cn"
65 65
     source: hosted
66 66
     version: "2.3.0"
67 67
   build_config:
68 68
     dependency: transitive
69 69
     description:
70 70
       name: build_config
71
-      url: "https://pub.dartlang.org"
71
+      url: "https://pub.flutter-io.cn"
72 72
     source: hosted
73 73
     version: "1.0.0"
74 74
   carousel_slider:
75 75
     dependency: "direct main"
76 76
     description:
77 77
       name: carousel_slider
78
-      url: "https://pub.dartlang.org"
78
+      url: "https://pub.flutter-io.cn"
79 79
     source: hosted
80 80
     version: "4.1.1"
81 81
   characters:
82 82
     dependency: transitive
83 83
     description:
84 84
       name: characters
85
-      url: "https://pub.dartlang.org"
85
+      url: "https://pub.flutter-io.cn"
86 86
     source: hosted
87 87
     version: "1.2.0"
88 88
   charcode:
89 89
     dependency: transitive
90 90
     description:
91 91
       name: charcode
92
-      url: "https://pub.dartlang.org"
92
+      url: "https://pub.flutter-io.cn"
93 93
     source: hosted
94 94
     version: "1.3.1"
95 95
   checked_yaml:
96 96
     dependency: transitive
97 97
     description:
98 98
       name: checked_yaml
99
-      url: "https://pub.dartlang.org"
99
+      url: "https://pub.flutter-io.cn"
100 100
     source: hosted
101 101
     version: "2.0.1"
102 102
   clock:
103 103
     dependency: transitive
104 104
     description:
105 105
       name: clock
106
-      url: "https://pub.dartlang.org"
106
+      url: "https://pub.flutter-io.cn"
107 107
     source: hosted
108 108
     version: "1.1.0"
109 109
   collection:
110 110
     dependency: transitive
111 111
     description:
112 112
       name: collection
113
-      url: "https://pub.dartlang.org"
113
+      url: "https://pub.flutter-io.cn"
114 114
     source: hosted
115 115
     version: "1.15.0"
116 116
   convert:
117 117
     dependency: transitive
118 118
     description:
119 119
       name: convert
120
-      url: "https://pub.dartlang.org"
120
+      url: "https://pub.flutter-io.cn"
121 121
     source: hosted
122 122
     version: "3.0.1"
123 123
   crypto:
124 124
     dependency: transitive
125 125
     description:
126 126
       name: crypto
127
-      url: "https://pub.dartlang.org"
127
+      url: "https://pub.flutter-io.cn"
128 128
     source: hosted
129 129
     version: "3.0.2"
130 130
   cupertino_icons:
131 131
     dependency: "direct main"
132 132
     description:
133 133
       name: cupertino_icons
134
-      url: "https://pub.dartlang.org"
134
+      url: "https://pub.flutter-io.cn"
135 135
     source: hosted
136 136
     version: "1.0.4"
137 137
   dart_style:
138 138
     dependency: transitive
139 139
     description:
140 140
       name: dart_style
141
-      url: "https://pub.dartlang.org"
141
+      url: "https://pub.flutter-io.cn"
142 142
     source: hosted
143 143
     version: "2.2.3"
144 144
   dio:
145 145
     dependency: "direct main"
146 146
     description:
147 147
       name: dio
148
-      url: "https://pub.dartlang.org"
148
+      url: "https://pub.flutter-io.cn"
149 149
     source: hosted
150 150
     version: "4.0.6"
151 151
   dotted_border:
152 152
     dependency: "direct main"
153 153
     description:
154 154
       name: dotted_border
155
-      url: "https://pub.dartlang.org"
155
+      url: "https://pub.flutter-io.cn"
156 156
     source: hosted
157 157
     version: "2.0.0+2"
158 158
   fake_async:
159 159
     dependency: transitive
160 160
     description:
161 161
       name: fake_async
162
-      url: "https://pub.dartlang.org"
162
+      url: "https://pub.flutter-io.cn"
163 163
     source: hosted
164 164
     version: "1.2.0"
165 165
   ffi:
166 166
     dependency: transitive
167 167
     description:
168 168
       name: ffi
169
-      url: "https://pub.dartlang.org"
169
+      url: "https://pub.flutter-io.cn"
170 170
     source: hosted
171 171
     version: "1.1.2"
172 172
   file:
173 173
     dependency: transitive
174 174
     description:
175 175
       name: file
176
-      url: "https://pub.dartlang.org"
176
+      url: "https://pub.flutter-io.cn"
177 177
     source: hosted
178 178
     version: "6.1.2"
179 179
   flutter:
@@ -181,34 +181,48 @@ packages:
181 181
     description: flutter
182 182
     source: sdk
183 183
     version: "0.0.0"
184
+  flutter_easyloading:
185
+    dependency: "direct main"
186
+    description:
187
+      name: flutter_easyloading
188
+      url: "https://pub.flutter-io.cn"
189
+    source: hosted
190
+    version: "3.0.3"
184 191
   flutter_lints:
185 192
     dependency: "direct dev"
186 193
     description:
187 194
       name: flutter_lints
188
-      url: "https://pub.dartlang.org"
195
+      url: "https://pub.flutter-io.cn"
189 196
     source: hosted
190 197
     version: "1.0.4"
191 198
   flutter_picker:
192 199
     dependency: "direct main"
193 200
     description:
194 201
       name: flutter_picker
195
-      url: "https://pub.dartlang.org"
202
+      url: "https://pub.flutter-io.cn"
196 203
     source: hosted
197 204
     version: "2.0.3"
198 205
   flutter_plugin_android_lifecycle:
199 206
     dependency: transitive
200 207
     description:
201 208
       name: flutter_plugin_android_lifecycle
202
-      url: "https://pub.dartlang.org"
209
+      url: "https://pub.flutter-io.cn"
203 210
     source: hosted
204 211
     version: "2.0.6"
205 212
   flutter_screenutil:
206 213
     dependency: "direct main"
207 214
     description:
208 215
       name: flutter_screenutil
209
-      url: "https://pub.dartlang.org"
216
+      url: "https://pub.flutter-io.cn"
210 217
     source: hosted
211 218
     version: "5.5.2"
219
+  flutter_spinkit:
220
+    dependency: transitive
221
+    description:
222
+      name: flutter_spinkit
223
+      url: "https://pub.flutter-io.cn"
224
+    source: hosted
225
+    version: "5.1.0"
212 226
   flutter_test:
213 227
     dependency: "direct dev"
214 228
     description: flutter
@@ -223,238 +237,238 @@ packages:
223 237
     dependency: "direct main"
224 238
     description:
225 239
       name: fluttertoast
226
-      url: "https://pub.dartlang.org"
240
+      url: "https://pub.flutter-io.cn"
227 241
     source: hosted
228 242
     version: "8.0.9"
229 243
   get:
230 244
     dependency: "direct main"
231 245
     description:
232 246
       name: get
233
-      url: "https://pub.dartlang.org"
247
+      url: "https://pub.flutter-io.cn"
234 248
     source: hosted
235 249
     version: "4.6.1"
236 250
   get_storage:
237 251
     dependency: "direct main"
238 252
     description:
239 253
       name: get_storage
240
-      url: "https://pub.dartlang.org"
254
+      url: "https://pub.flutter-io.cn"
241 255
     source: hosted
242 256
     version: "2.0.3"
243 257
   glob:
244 258
     dependency: transitive
245 259
     description:
246 260
       name: glob
247
-      url: "https://pub.dartlang.org"
261
+      url: "https://pub.flutter-io.cn"
248 262
     source: hosted
249 263
     version: "2.0.2"
250 264
   http_parser:
251 265
     dependency: transitive
252 266
     description:
253 267
       name: http_parser
254
-      url: "https://pub.dartlang.org"
268
+      url: "https://pub.flutter-io.cn"
255 269
     source: hosted
256 270
     version: "4.0.0"
257 271
   js:
258 272
     dependency: transitive
259 273
     description:
260 274
       name: js
261
-      url: "https://pub.dartlang.org"
275
+      url: "https://pub.flutter-io.cn"
262 276
     source: hosted
263 277
     version: "0.6.3"
264 278
   json_annotation:
265 279
     dependency: transitive
266 280
     description:
267 281
       name: json_annotation
268
-      url: "https://pub.dartlang.org"
282
+      url: "https://pub.flutter-io.cn"
269 283
     source: hosted
270 284
     version: "4.5.0"
271 285
   json_serializable:
272 286
     dependency: "direct main"
273 287
     description:
274 288
       name: json_serializable
275
-      url: "https://pub.dartlang.org"
289
+      url: "https://pub.flutter-io.cn"
276 290
     source: hosted
277 291
     version: "6.2.0"
278 292
   lints:
279 293
     dependency: transitive
280 294
     description:
281 295
       name: lints
282
-      url: "https://pub.dartlang.org"
296
+      url: "https://pub.flutter-io.cn"
283 297
     source: hosted
284 298
     version: "1.0.1"
285 299
   logging:
286 300
     dependency: transitive
287 301
     description:
288 302
       name: logging
289
-      url: "https://pub.dartlang.org"
303
+      url: "https://pub.flutter-io.cn"
290 304
     source: hosted
291 305
     version: "1.0.2"
292 306
   matcher:
293 307
     dependency: transitive
294 308
     description:
295 309
       name: matcher
296
-      url: "https://pub.dartlang.org"
310
+      url: "https://pub.flutter-io.cn"
297 311
     source: hosted
298 312
     version: "0.12.11"
299 313
   material_color_utilities:
300 314
     dependency: transitive
301 315
     description:
302 316
       name: material_color_utilities
303
-      url: "https://pub.dartlang.org"
317
+      url: "https://pub.flutter-io.cn"
304 318
     source: hosted
305 319
     version: "0.1.3"
306 320
   meta:
307 321
     dependency: transitive
308 322
     description:
309 323
       name: meta
310
-      url: "https://pub.dartlang.org"
324
+      url: "https://pub.flutter-io.cn"
311 325
     source: hosted
312 326
     version: "1.7.0"
313 327
   package_config:
314 328
     dependency: transitive
315 329
     description:
316 330
       name: package_config
317
-      url: "https://pub.dartlang.org"
331
+      url: "https://pub.flutter-io.cn"
318 332
     source: hosted
319 333
     version: "2.0.2"
320 334
   path:
321 335
     dependency: transitive
322 336
     description:
323 337
       name: path
324
-      url: "https://pub.dartlang.org"
338
+      url: "https://pub.flutter-io.cn"
325 339
     source: hosted
326 340
     version: "1.8.0"
327 341
   path_drawing:
328 342
     dependency: transitive
329 343
     description:
330 344
       name: path_drawing
331
-      url: "https://pub.dartlang.org"
345
+      url: "https://pub.flutter-io.cn"
332 346
     source: hosted
333 347
     version: "1.0.0"
334 348
   path_parsing:
335 349
     dependency: transitive
336 350
     description:
337 351
       name: path_parsing
338
-      url: "https://pub.dartlang.org"
352
+      url: "https://pub.flutter-io.cn"
339 353
     source: hosted
340 354
     version: "1.0.0"
341 355
   path_provider:
342 356
     dependency: transitive
343 357
     description:
344 358
       name: path_provider
345
-      url: "https://pub.dartlang.org"
359
+      url: "https://pub.flutter-io.cn"
346 360
     source: hosted
347 361
     version: "2.0.10"
348 362
   path_provider_android:
349 363
     dependency: transitive
350 364
     description:
351 365
       name: path_provider_android
352
-      url: "https://pub.dartlang.org"
366
+      url: "https://pub.flutter-io.cn"
353 367
     source: hosted
354 368
     version: "2.0.14"
355 369
   path_provider_ios:
356 370
     dependency: transitive
357 371
     description:
358 372
       name: path_provider_ios
359
-      url: "https://pub.dartlang.org"
373
+      url: "https://pub.flutter-io.cn"
360 374
     source: hosted
361 375
     version: "2.0.9"
362 376
   path_provider_linux:
363 377
     dependency: transitive
364 378
     description:
365 379
       name: path_provider_linux
366
-      url: "https://pub.dartlang.org"
380
+      url: "https://pub.flutter-io.cn"
367 381
     source: hosted
368 382
     version: "2.1.6"
369 383
   path_provider_macos:
370 384
     dependency: transitive
371 385
     description:
372 386
       name: path_provider_macos
373
-      url: "https://pub.dartlang.org"
387
+      url: "https://pub.flutter-io.cn"
374 388
     source: hosted
375 389
     version: "2.0.6"
376 390
   path_provider_platform_interface:
377 391
     dependency: transitive
378 392
     description:
379 393
       name: path_provider_platform_interface
380
-      url: "https://pub.dartlang.org"
394
+      url: "https://pub.flutter-io.cn"
381 395
     source: hosted
382 396
     version: "2.0.3"
383 397
   path_provider_windows:
384 398
     dependency: transitive
385 399
     description:
386 400
       name: path_provider_windows
387
-      url: "https://pub.dartlang.org"
401
+      url: "https://pub.flutter-io.cn"
388 402
     source: hosted
389 403
     version: "2.0.6"
390 404
   permission_handler:
391 405
     dependency: "direct main"
392 406
     description:
393 407
       name: permission_handler
394
-      url: "https://pub.dartlang.org"
408
+      url: "https://pub.flutter-io.cn"
395 409
     source: hosted
396 410
     version: "9.2.0"
397 411
   permission_handler_android:
398 412
     dependency: transitive
399 413
     description:
400 414
       name: permission_handler_android
401
-      url: "https://pub.dartlang.org"
415
+      url: "https://pub.flutter-io.cn"
402 416
     source: hosted
403 417
     version: "9.0.2+1"
404 418
   permission_handler_apple:
405 419
     dependency: transitive
406 420
     description:
407 421
       name: permission_handler_apple
408
-      url: "https://pub.dartlang.org"
422
+      url: "https://pub.flutter-io.cn"
409 423
     source: hosted
410 424
     version: "9.0.4"
411 425
   permission_handler_platform_interface:
412 426
     dependency: transitive
413 427
     description:
414 428
       name: permission_handler_platform_interface
415
-      url: "https://pub.dartlang.org"
429
+      url: "https://pub.flutter-io.cn"
416 430
     source: hosted
417 431
     version: "3.7.0"
418 432
   permission_handler_windows:
419 433
     dependency: transitive
420 434
     description:
421 435
       name: permission_handler_windows
422
-      url: "https://pub.dartlang.org"
436
+      url: "https://pub.flutter-io.cn"
423 437
     source: hosted
424 438
     version: "0.1.0"
425 439
   platform:
426 440
     dependency: transitive
427 441
     description:
428 442
       name: platform
429
-      url: "https://pub.dartlang.org"
443
+      url: "https://pub.flutter-io.cn"
430 444
     source: hosted
431 445
     version: "3.1.0"
432 446
   plugin_platform_interface:
433 447
     dependency: transitive
434 448
     description:
435 449
       name: plugin_platform_interface
436
-      url: "https://pub.dartlang.org"
450
+      url: "https://pub.flutter-io.cn"
437 451
     source: hosted
438 452
     version: "2.1.2"
439 453
   process:
440 454
     dependency: transitive
441 455
     description:
442 456
       name: process
443
-      url: "https://pub.dartlang.org"
457
+      url: "https://pub.flutter-io.cn"
444 458
     source: hosted
445 459
     version: "4.2.4"
446 460
   pub_semver:
447 461
     dependency: transitive
448 462
     description:
449 463
       name: pub_semver
450
-      url: "https://pub.dartlang.org"
464
+      url: "https://pub.flutter-io.cn"
451 465
     source: hosted
452 466
     version: "2.1.1"
453 467
   pubspec_parse:
454 468
     dependency: transitive
455 469
     description:
456 470
       name: pubspec_parse
457
-      url: "https://pub.dartlang.org"
471
+      url: "https://pub.flutter-io.cn"
458 472
     source: hosted
459 473
     version: "1.2.0"
460 474
   sky_engine:
@@ -466,105 +480,105 @@ packages:
466 480
     dependency: transitive
467 481
     description:
468 482
       name: source_gen
469
-      url: "https://pub.dartlang.org"
483
+      url: "https://pub.flutter-io.cn"
470 484
     source: hosted
471 485
     version: "1.2.2"
472 486
   source_helper:
473 487
     dependency: transitive
474 488
     description:
475 489
       name: source_helper
476
-      url: "https://pub.dartlang.org"
490
+      url: "https://pub.flutter-io.cn"
477 491
     source: hosted
478 492
     version: "1.3.2"
479 493
   source_span:
480 494
     dependency: transitive
481 495
     description:
482 496
       name: source_span
483
-      url: "https://pub.dartlang.org"
497
+      url: "https://pub.flutter-io.cn"
484 498
     source: hosted
485 499
     version: "1.8.1"
486 500
   stack_trace:
487 501
     dependency: transitive
488 502
     description:
489 503
       name: stack_trace
490
-      url: "https://pub.dartlang.org"
504
+      url: "https://pub.flutter-io.cn"
491 505
     source: hosted
492 506
     version: "1.10.0"
493 507
   stream_channel:
494 508
     dependency: transitive
495 509
     description:
496 510
       name: stream_channel
497
-      url: "https://pub.dartlang.org"
511
+      url: "https://pub.flutter-io.cn"
498 512
     source: hosted
499 513
     version: "2.1.0"
500 514
   stream_transform:
501 515
     dependency: transitive
502 516
     description:
503 517
       name: stream_transform
504
-      url: "https://pub.dartlang.org"
518
+      url: "https://pub.flutter-io.cn"
505 519
     source: hosted
506 520
     version: "2.0.0"
507 521
   string_scanner:
508 522
     dependency: transitive
509 523
     description:
510 524
       name: string_scanner
511
-      url: "https://pub.dartlang.org"
525
+      url: "https://pub.flutter-io.cn"
512 526
     source: hosted
513 527
     version: "1.1.0"
514 528
   term_glyph:
515 529
     dependency: transitive
516 530
     description:
517 531
       name: term_glyph
518
-      url: "https://pub.dartlang.org"
532
+      url: "https://pub.flutter-io.cn"
519 533
     source: hosted
520 534
     version: "1.2.0"
521 535
   test_api:
522 536
     dependency: transitive
523 537
     description:
524 538
       name: test_api
525
-      url: "https://pub.dartlang.org"
539
+      url: "https://pub.flutter-io.cn"
526 540
     source: hosted
527 541
     version: "0.4.8"
528 542
   typed_data:
529 543
     dependency: transitive
530 544
     description:
531 545
       name: typed_data
532
-      url: "https://pub.dartlang.org"
546
+      url: "https://pub.flutter-io.cn"
533 547
     source: hosted
534 548
     version: "1.3.0"
535 549
   vector_math:
536 550
     dependency: transitive
537 551
     description:
538 552
       name: vector_math
539
-      url: "https://pub.dartlang.org"
553
+      url: "https://pub.flutter-io.cn"
540 554
     source: hosted
541 555
     version: "2.1.1"
542 556
   watcher:
543 557
     dependency: transitive
544 558
     description:
545 559
       name: watcher
546
-      url: "https://pub.dartlang.org"
560
+      url: "https://pub.flutter-io.cn"
547 561
     source: hosted
548 562
     version: "1.0.1"
549 563
   win32:
550 564
     dependency: transitive
551 565
     description:
552 566
       name: win32
553
-      url: "https://pub.dartlang.org"
567
+      url: "https://pub.flutter-io.cn"
554 568
     source: hosted
555 569
     version: "2.5.2"
556 570
   xdg_directories:
557 571
     dependency: transitive
558 572
     description:
559 573
       name: xdg_directories
560
-      url: "https://pub.dartlang.org"
574
+      url: "https://pub.flutter-io.cn"
561 575
     source: hosted
562 576
     version: "0.2.0+1"
563 577
   yaml:
564 578
     dependency: transitive
565 579
     description:
566 580
       name: yaml
567
-      url: "https://pub.dartlang.org"
581
+      url: "https://pub.flutter-io.cn"
568 582
     source: hosted
569 583
     version: "3.1.0"
570 584
 sdks:

+ 1
- 0
pubspec.yaml Просмотреть файл

@@ -46,6 +46,7 @@ dependencies:
46 46
   json_serializable: ^6.1.5
47 47
   dotted_border: ^2.0.0
48 48
   flutter_picker: ^2.0.3
49
+  flutter_easyloading: ^3.0.3
49 50
 
50 51
 dev_dependencies:
51 52
   flutter_test: