李志伟 3 年前
父节点
当前提交
5c38c7d322
共有 3 个文件被更改,包括 87 次插入88 次删除
  1. 12
    18
      lib/pages/addressList/index.dart
  2. 9
    4
      lib/widgets/DefaultButton.dart
  3. 66
    66
      pubspec.lock

+ 12
- 18
lib/pages/addressList/index.dart 查看文件

1
+import 'package:farmer_client/widgets/DefaultButton.dart';
2
+import 'package:flutter/cupertino.dart';
1
 import 'package:flutter/material.dart';
3
 import 'package:flutter/material.dart';
2
 import 'package:flutter_screenutil/flutter_screenutil.dart';
4
 import 'package:flutter_screenutil/flutter_screenutil.dart';
3
 
5
 
30
         child: Column(
32
         child: Column(
31
           children: [
33
           children: [
32
             Text('地址'),
34
             Text('地址'),
33
-            GestureDetector(
34
-              onTap: () {},
35
-              child: Container(
36
-                width: 345.w,
37
-                height: 49.h,
38
-                decoration: BoxDecoration(
39
-                  borderRadius: BorderRadius.all(Radius.circular(10.w)),
40
-                  color:Color(0xFFFF703B),
41
-                ),
42
-                child: Text(
43
-                  '+新增收货地址',
44
-                  style: TextStyle(
45
-                    color: Colors.white,
46
-                    fontWeight: FontWeight.bold,
47
-                    fontSize: 20.sp
48
-                  ),
49
-                ),
50
-              ),
35
+            DefaultButton(
36
+              color: Color(0xffffffff),
37
+              backColor: Color(0xFFFF703B),
38
+              width: 345.w,
39
+              height: 49.h,
40
+              text: '+新增收货地址',
41
+              onPressed: (){},
42
+              margin: EdgeInsets.all(0),
43
+              fontSize: 20.sp,
44
+              radius: 24.5.w,
51
             ),
45
             ),
52
           ],
46
           ],
53
         ),
47
         ),

+ 9
- 4
lib/widgets/DefaultButton.dart 查看文件

12
   final double? fontSize;
12
   final double? fontSize;
13
   final Color backColor;
13
   final Color backColor;
14
   final Color color;
14
   final Color color;
15
+  final double? radius;
15
 
16
 
16
   EdgeInsetsGeometry marginDefault =
17
   EdgeInsetsGeometry marginDefault =
17
   const EdgeInsets.fromLTRB(0, 90.0, 0, 30); //按钮默认的margin值
18
   const EdgeInsets.fromLTRB(0, 90.0, 0, 30); //按钮默认的margin值
24
     required this.width,
25
     required this.width,
25
     required this.height,
26
     required this.height,
26
     this.fontSize,
27
     this.fontSize,
28
+    this.radius,
27
     required this.backColor,
29
     required this.backColor,
28
     required this.color,
30
     required this.color,
29
   }) : super(key: key);
31
   }) : super(key: key);
31
   @override
33
   @override
32
   State createState() {
34
   State createState() {
33
     if (margin == null) {
35
     if (margin == null) {
34
-      return _DefaultButtonState(onPressed, text, marginDefault,width,height,fontSize,backColor,color);
36
+      return _DefaultButtonState(onPressed, text, marginDefault,width,height,fontSize,backColor,color,radius);
35
     }
37
     }
36
-    return _DefaultButtonState(onPressed, text, margin,width,height,fontSize,backColor,color);
38
+    return _DefaultButtonState(onPressed, text, margin,width,height,fontSize,backColor,color,radius);
37
   }
39
   }
38
 }
40
 }
39
 
41
 
47
   final double? fontSize;
49
   final double? fontSize;
48
   final Color backColor;
50
   final Color backColor;
49
   final Color color;
51
   final Color color;
52
+  final double? radius;
50
   _DefaultButtonState(
53
   _DefaultButtonState(
51
       this.onPressed,
54
       this.onPressed,
52
       this.text,
55
       this.text,
55
       this.height,
58
       this.height,
56
       this.fontSize,
59
       this.fontSize,
57
       this.backColor,
60
       this.backColor,
58
-      this.color
61
+      this.color,
62
+      this.radius
59
       );
63
       );
60
 
64
 
61
   @override
65
   @override
71
           disabledTextColor: const Color(0xF5F6F7ff),
75
           disabledTextColor: const Color(0xF5F6F7ff),
72
           colorBrightness: Brightness.dark,
76
           colorBrightness: Brightness.dark,
73
           shape:
77
           shape:
74
-          RoundedRectangleBorder(borderRadius: BorderRadius.circular(5.0)),
78
+          RoundedRectangleBorder(borderRadius: BorderRadius.circular(radius??5)),
75
           child: Text(text,style:  TextStyle(
79
           child: Text(text,style:  TextStyle(
76
               fontSize: fontSize,
80
               fontSize: fontSize,
81
+              fontWeight: FontWeight.bold,
77
               color: color,
82
               color: color,
78
           ),),
83
           ),),
79
           textColor: Colors.white,
84
           textColor: Colors.white,

+ 66
- 66
pubspec.lock 查看文件

5
     dependency: transitive
5
     dependency: transitive
6
     description:
6
     description:
7
       name: _fe_analyzer_shared
7
       name: _fe_analyzer_shared
8
-      url: "https://pub.dartlang.org"
8
+      url: "https://pub.flutter-io.cn"
9
     source: hosted
9
     source: hosted
10
     version: "39.0.0"
10
     version: "39.0.0"
11
   analyzer:
11
   analyzer:
12
     dependency: transitive
12
     dependency: transitive
13
     description:
13
     description:
14
       name: analyzer
14
       name: analyzer
15
-      url: "https://pub.dartlang.org"
15
+      url: "https://pub.flutter-io.cn"
16
     source: hosted
16
     source: hosted
17
     version: "4.0.0"
17
     version: "4.0.0"
18
   args:
18
   args:
19
     dependency: transitive
19
     dependency: transitive
20
     description:
20
     description:
21
       name: args
21
       name: args
22
-      url: "https://pub.dartlang.org"
22
+      url: "https://pub.flutter-io.cn"
23
     source: hosted
23
     source: hosted
24
     version: "2.3.0"
24
     version: "2.3.0"
25
   async:
25
   async:
26
     dependency: transitive
26
     dependency: transitive
27
     description:
27
     description:
28
       name: async
28
       name: async
29
-      url: "https://pub.dartlang.org"
29
+      url: "https://pub.flutter-io.cn"
30
     source: hosted
30
     source: hosted
31
     version: "2.8.2"
31
     version: "2.8.2"
32
   boolean_selector:
32
   boolean_selector:
33
     dependency: transitive
33
     dependency: transitive
34
     description:
34
     description:
35
       name: boolean_selector
35
       name: boolean_selector
36
-      url: "https://pub.dartlang.org"
36
+      url: "https://pub.flutter-io.cn"
37
     source: hosted
37
     source: hosted
38
     version: "2.1.0"
38
     version: "2.1.0"
39
   build:
39
   build:
40
     dependency: transitive
40
     dependency: transitive
41
     description:
41
     description:
42
       name: build
42
       name: build
43
-      url: "https://pub.dartlang.org"
43
+      url: "https://pub.flutter-io.cn"
44
     source: hosted
44
     source: hosted
45
     version: "2.3.0"
45
     version: "2.3.0"
46
   build_config:
46
   build_config:
47
     dependency: transitive
47
     dependency: transitive
48
     description:
48
     description:
49
       name: build_config
49
       name: build_config
50
-      url: "https://pub.dartlang.org"
50
+      url: "https://pub.flutter-io.cn"
51
     source: hosted
51
     source: hosted
52
     version: "1.0.0"
52
     version: "1.0.0"
53
   characters:
53
   characters:
54
     dependency: transitive
54
     dependency: transitive
55
     description:
55
     description:
56
       name: characters
56
       name: characters
57
-      url: "https://pub.dartlang.org"
57
+      url: "https://pub.flutter-io.cn"
58
     source: hosted
58
     source: hosted
59
     version: "1.2.0"
59
     version: "1.2.0"
60
   charcode:
60
   charcode:
61
     dependency: transitive
61
     dependency: transitive
62
     description:
62
     description:
63
       name: charcode
63
       name: charcode
64
-      url: "https://pub.dartlang.org"
64
+      url: "https://pub.flutter-io.cn"
65
     source: hosted
65
     source: hosted
66
     version: "1.3.1"
66
     version: "1.3.1"
67
   checked_yaml:
67
   checked_yaml:
68
     dependency: transitive
68
     dependency: transitive
69
     description:
69
     description:
70
       name: checked_yaml
70
       name: checked_yaml
71
-      url: "https://pub.dartlang.org"
71
+      url: "https://pub.flutter-io.cn"
72
     source: hosted
72
     source: hosted
73
     version: "2.0.1"
73
     version: "2.0.1"
74
   clock:
74
   clock:
75
     dependency: transitive
75
     dependency: transitive
76
     description:
76
     description:
77
       name: clock
77
       name: clock
78
-      url: "https://pub.dartlang.org"
78
+      url: "https://pub.flutter-io.cn"
79
     source: hosted
79
     source: hosted
80
     version: "1.1.0"
80
     version: "1.1.0"
81
   collection:
81
   collection:
82
     dependency: transitive
82
     dependency: transitive
83
     description:
83
     description:
84
       name: collection
84
       name: collection
85
-      url: "https://pub.dartlang.org"
85
+      url: "https://pub.flutter-io.cn"
86
     source: hosted
86
     source: hosted
87
     version: "1.15.0"
87
     version: "1.15.0"
88
   convert:
88
   convert:
89
     dependency: transitive
89
     dependency: transitive
90
     description:
90
     description:
91
       name: convert
91
       name: convert
92
-      url: "https://pub.dartlang.org"
92
+      url: "https://pub.flutter-io.cn"
93
     source: hosted
93
     source: hosted
94
     version: "3.0.1"
94
     version: "3.0.1"
95
   crypto:
95
   crypto:
96
     dependency: transitive
96
     dependency: transitive
97
     description:
97
     description:
98
       name: crypto
98
       name: crypto
99
-      url: "https://pub.dartlang.org"
99
+      url: "https://pub.flutter-io.cn"
100
     source: hosted
100
     source: hosted
101
     version: "3.0.1"
101
     version: "3.0.1"
102
   cupertino_icons:
102
   cupertino_icons:
103
     dependency: "direct main"
103
     dependency: "direct main"
104
     description:
104
     description:
105
       name: cupertino_icons
105
       name: cupertino_icons
106
-      url: "https://pub.dartlang.org"
106
+      url: "https://pub.flutter-io.cn"
107
     source: hosted
107
     source: hosted
108
     version: "1.0.4"
108
     version: "1.0.4"
109
   dart_style:
109
   dart_style:
110
     dependency: transitive
110
     dependency: transitive
111
     description:
111
     description:
112
       name: dart_style
112
       name: dart_style
113
-      url: "https://pub.dartlang.org"
113
+      url: "https://pub.flutter-io.cn"
114
     source: hosted
114
     source: hosted
115
     version: "2.2.3"
115
     version: "2.2.3"
116
   dio:
116
   dio:
117
     dependency: "direct main"
117
     dependency: "direct main"
118
     description:
118
     description:
119
       name: dio
119
       name: dio
120
-      url: "https://pub.dartlang.org"
120
+      url: "https://pub.flutter-io.cn"
121
     source: hosted
121
     source: hosted
122
     version: "4.0.6"
122
     version: "4.0.6"
123
   fake_async:
123
   fake_async:
124
     dependency: transitive
124
     dependency: transitive
125
     description:
125
     description:
126
       name: fake_async
126
       name: fake_async
127
-      url: "https://pub.dartlang.org"
127
+      url: "https://pub.flutter-io.cn"
128
     source: hosted
128
     source: hosted
129
     version: "1.2.0"
129
     version: "1.2.0"
130
   ffi:
130
   ffi:
131
     dependency: transitive
131
     dependency: transitive
132
     description:
132
     description:
133
       name: ffi
133
       name: ffi
134
-      url: "https://pub.dartlang.org"
134
+      url: "https://pub.flutter-io.cn"
135
     source: hosted
135
     source: hosted
136
     version: "1.1.2"
136
     version: "1.1.2"
137
   file:
137
   file:
138
     dependency: transitive
138
     dependency: transitive
139
     description:
139
     description:
140
       name: file
140
       name: file
141
-      url: "https://pub.dartlang.org"
141
+      url: "https://pub.flutter-io.cn"
142
     source: hosted
142
     source: hosted
143
     version: "6.1.2"
143
     version: "6.1.2"
144
   flutter:
144
   flutter:
150
     dependency: "direct dev"
150
     dependency: "direct dev"
151
     description:
151
     description:
152
       name: flutter_lints
152
       name: flutter_lints
153
-      url: "https://pub.dartlang.org"
153
+      url: "https://pub.flutter-io.cn"
154
     source: hosted
154
     source: hosted
155
     version: "1.0.4"
155
     version: "1.0.4"
156
   flutter_screenutil:
156
   flutter_screenutil:
157
     dependency: "direct main"
157
     dependency: "direct main"
158
     description:
158
     description:
159
       name: flutter_screenutil
159
       name: flutter_screenutil
160
-      url: "https://pub.dartlang.org"
160
+      url: "https://pub.flutter-io.cn"
161
     source: hosted
161
     source: hosted
162
     version: "5.4.0+1"
162
     version: "5.4.0+1"
163
   flutter_test:
163
   flutter_test:
174
     dependency: "direct main"
174
     dependency: "direct main"
175
     description:
175
     description:
176
       name: fluttertoast
176
       name: fluttertoast
177
-      url: "https://pub.dartlang.org"
177
+      url: "https://pub.flutter-io.cn"
178
     source: hosted
178
     source: hosted
179
     version: "8.0.9"
179
     version: "8.0.9"
180
   get:
180
   get:
181
     dependency: "direct main"
181
     dependency: "direct main"
182
     description:
182
     description:
183
       name: get
183
       name: get
184
-      url: "https://pub.dartlang.org"
184
+      url: "https://pub.flutter-io.cn"
185
     source: hosted
185
     source: hosted
186
     version: "4.6.1"
186
     version: "4.6.1"
187
   get_storage:
187
   get_storage:
188
     dependency: "direct main"
188
     dependency: "direct main"
189
     description:
189
     description:
190
       name: get_storage
190
       name: get_storage
191
-      url: "https://pub.dartlang.org"
191
+      url: "https://pub.flutter-io.cn"
192
     source: hosted
192
     source: hosted
193
     version: "2.0.3"
193
     version: "2.0.3"
194
   glob:
194
   glob:
195
     dependency: transitive
195
     dependency: transitive
196
     description:
196
     description:
197
       name: glob
197
       name: glob
198
-      url: "https://pub.dartlang.org"
198
+      url: "https://pub.flutter-io.cn"
199
     source: hosted
199
     source: hosted
200
     version: "2.0.2"
200
     version: "2.0.2"
201
   http_parser:
201
   http_parser:
202
     dependency: transitive
202
     dependency: transitive
203
     description:
203
     description:
204
       name: http_parser
204
       name: http_parser
205
-      url: "https://pub.dartlang.org"
205
+      url: "https://pub.flutter-io.cn"
206
     source: hosted
206
     source: hosted
207
     version: "4.0.0"
207
     version: "4.0.0"
208
   js:
208
   js:
209
     dependency: transitive
209
     dependency: transitive
210
     description:
210
     description:
211
       name: js
211
       name: js
212
-      url: "https://pub.dartlang.org"
212
+      url: "https://pub.flutter-io.cn"
213
     source: hosted
213
     source: hosted
214
     version: "0.6.3"
214
     version: "0.6.3"
215
   json_annotation:
215
   json_annotation:
216
     dependency: transitive
216
     dependency: transitive
217
     description:
217
     description:
218
       name: json_annotation
218
       name: json_annotation
219
-      url: "https://pub.dartlang.org"
219
+      url: "https://pub.flutter-io.cn"
220
     source: hosted
220
     source: hosted
221
     version: "4.4.0"
221
     version: "4.4.0"
222
   json_serializable:
222
   json_serializable:
223
     dependency: "direct main"
223
     dependency: "direct main"
224
     description:
224
     description:
225
       name: json_serializable
225
       name: json_serializable
226
-      url: "https://pub.dartlang.org"
226
+      url: "https://pub.flutter-io.cn"
227
     source: hosted
227
     source: hosted
228
     version: "6.1.6"
228
     version: "6.1.6"
229
   lints:
229
   lints:
230
     dependency: transitive
230
     dependency: transitive
231
     description:
231
     description:
232
       name: lints
232
       name: lints
233
-      url: "https://pub.dartlang.org"
233
+      url: "https://pub.flutter-io.cn"
234
     source: hosted
234
     source: hosted
235
     version: "1.0.1"
235
     version: "1.0.1"
236
   location:
236
   location:
237
     dependency: "direct main"
237
     dependency: "direct main"
238
     description:
238
     description:
239
       name: location
239
       name: location
240
-      url: "https://pub.dartlang.org"
240
+      url: "https://pub.flutter-io.cn"
241
     source: hosted
241
     source: hosted
242
     version: "4.3.0"
242
     version: "4.3.0"
243
   location_platform_interface:
243
   location_platform_interface:
244
     dependency: transitive
244
     dependency: transitive
245
     description:
245
     description:
246
       name: location_platform_interface
246
       name: location_platform_interface
247
-      url: "https://pub.dartlang.org"
247
+      url: "https://pub.flutter-io.cn"
248
     source: hosted
248
     source: hosted
249
     version: "2.3.0"
249
     version: "2.3.0"
250
   location_web:
250
   location_web:
251
     dependency: transitive
251
     dependency: transitive
252
     description:
252
     description:
253
       name: location_web
253
       name: location_web
254
-      url: "https://pub.dartlang.org"
254
+      url: "https://pub.flutter-io.cn"
255
     source: hosted
255
     source: hosted
256
     version: "3.1.1"
256
     version: "3.1.1"
257
   logging:
257
   logging:
258
     dependency: transitive
258
     dependency: transitive
259
     description:
259
     description:
260
       name: logging
260
       name: logging
261
-      url: "https://pub.dartlang.org"
261
+      url: "https://pub.flutter-io.cn"
262
     source: hosted
262
     source: hosted
263
     version: "1.0.2"
263
     version: "1.0.2"
264
   matcher:
264
   matcher:
265
     dependency: transitive
265
     dependency: transitive
266
     description:
266
     description:
267
       name: matcher
267
       name: matcher
268
-      url: "https://pub.dartlang.org"
268
+      url: "https://pub.flutter-io.cn"
269
     source: hosted
269
     source: hosted
270
     version: "0.12.11"
270
     version: "0.12.11"
271
   material_color_utilities:
271
   material_color_utilities:
272
     dependency: transitive
272
     dependency: transitive
273
     description:
273
     description:
274
       name: material_color_utilities
274
       name: material_color_utilities
275
-      url: "https://pub.dartlang.org"
275
+      url: "https://pub.flutter-io.cn"
276
     source: hosted
276
     source: hosted
277
     version: "0.1.3"
277
     version: "0.1.3"
278
   meta:
278
   meta:
279
     dependency: transitive
279
     dependency: transitive
280
     description:
280
     description:
281
       name: meta
281
       name: meta
282
-      url: "https://pub.dartlang.org"
282
+      url: "https://pub.flutter-io.cn"
283
     source: hosted
283
     source: hosted
284
     version: "1.7.0"
284
     version: "1.7.0"
285
   package_config:
285
   package_config:
286
     dependency: transitive
286
     dependency: transitive
287
     description:
287
     description:
288
       name: package_config
288
       name: package_config
289
-      url: "https://pub.dartlang.org"
289
+      url: "https://pub.flutter-io.cn"
290
     source: hosted
290
     source: hosted
291
     version: "2.0.2"
291
     version: "2.0.2"
292
   path:
292
   path:
293
     dependency: transitive
293
     dependency: transitive
294
     description:
294
     description:
295
       name: path
295
       name: path
296
-      url: "https://pub.dartlang.org"
296
+      url: "https://pub.flutter-io.cn"
297
     source: hosted
297
     source: hosted
298
     version: "1.8.0"
298
     version: "1.8.0"
299
   path_provider:
299
   path_provider:
300
     dependency: transitive
300
     dependency: transitive
301
     description:
301
     description:
302
       name: path_provider
302
       name: path_provider
303
-      url: "https://pub.dartlang.org"
303
+      url: "https://pub.flutter-io.cn"
304
     source: hosted
304
     source: hosted
305
     version: "2.0.9"
305
     version: "2.0.9"
306
   path_provider_android:
306
   path_provider_android:
307
     dependency: transitive
307
     dependency: transitive
308
     description:
308
     description:
309
       name: path_provider_android
309
       name: path_provider_android
310
-      url: "https://pub.dartlang.org"
310
+      url: "https://pub.flutter-io.cn"
311
     source: hosted
311
     source: hosted
312
     version: "2.0.12"
312
     version: "2.0.12"
313
   path_provider_ios:
313
   path_provider_ios:
314
     dependency: transitive
314
     dependency: transitive
315
     description:
315
     description:
316
       name: path_provider_ios
316
       name: path_provider_ios
317
-      url: "https://pub.dartlang.org"
317
+      url: "https://pub.flutter-io.cn"
318
     source: hosted
318
     source: hosted
319
     version: "2.0.8"
319
     version: "2.0.8"
320
   path_provider_linux:
320
   path_provider_linux:
321
     dependency: transitive
321
     dependency: transitive
322
     description:
322
     description:
323
       name: path_provider_linux
323
       name: path_provider_linux
324
-      url: "https://pub.dartlang.org"
324
+      url: "https://pub.flutter-io.cn"
325
     source: hosted
325
     source: hosted
326
     version: "2.1.5"
326
     version: "2.1.5"
327
   path_provider_macos:
327
   path_provider_macos:
328
     dependency: transitive
328
     dependency: transitive
329
     description:
329
     description:
330
       name: path_provider_macos
330
       name: path_provider_macos
331
-      url: "https://pub.dartlang.org"
331
+      url: "https://pub.flutter-io.cn"
332
     source: hosted
332
     source: hosted
333
     version: "2.0.5"
333
     version: "2.0.5"
334
   path_provider_platform_interface:
334
   path_provider_platform_interface:
335
     dependency: transitive
335
     dependency: transitive
336
     description:
336
     description:
337
       name: path_provider_platform_interface
337
       name: path_provider_platform_interface
338
-      url: "https://pub.dartlang.org"
338
+      url: "https://pub.flutter-io.cn"
339
     source: hosted
339
     source: hosted
340
     version: "2.0.3"
340
     version: "2.0.3"
341
   path_provider_windows:
341
   path_provider_windows:
342
     dependency: transitive
342
     dependency: transitive
343
     description:
343
     description:
344
       name: path_provider_windows
344
       name: path_provider_windows
345
-      url: "https://pub.dartlang.org"
345
+      url: "https://pub.flutter-io.cn"
346
     source: hosted
346
     source: hosted
347
     version: "2.0.5"
347
     version: "2.0.5"
348
   platform:
348
   platform:
349
     dependency: transitive
349
     dependency: transitive
350
     description:
350
     description:
351
       name: platform
351
       name: platform
352
-      url: "https://pub.dartlang.org"
352
+      url: "https://pub.flutter-io.cn"
353
     source: hosted
353
     source: hosted
354
     version: "3.1.0"
354
     version: "3.1.0"
355
   plugin_platform_interface:
355
   plugin_platform_interface:
356
     dependency: transitive
356
     dependency: transitive
357
     description:
357
     description:
358
       name: plugin_platform_interface
358
       name: plugin_platform_interface
359
-      url: "https://pub.dartlang.org"
359
+      url: "https://pub.flutter-io.cn"
360
     source: hosted
360
     source: hosted
361
     version: "2.1.2"
361
     version: "2.1.2"
362
   process:
362
   process:
363
     dependency: transitive
363
     dependency: transitive
364
     description:
364
     description:
365
       name: process
365
       name: process
366
-      url: "https://pub.dartlang.org"
366
+      url: "https://pub.flutter-io.cn"
367
     source: hosted
367
     source: hosted
368
     version: "4.2.4"
368
     version: "4.2.4"
369
   pub_semver:
369
   pub_semver:
370
     dependency: transitive
370
     dependency: transitive
371
     description:
371
     description:
372
       name: pub_semver
372
       name: pub_semver
373
-      url: "https://pub.dartlang.org"
373
+      url: "https://pub.flutter-io.cn"
374
     source: hosted
374
     source: hosted
375
     version: "2.1.1"
375
     version: "2.1.1"
376
   pubspec_parse:
376
   pubspec_parse:
377
     dependency: transitive
377
     dependency: transitive
378
     description:
378
     description:
379
       name: pubspec_parse
379
       name: pubspec_parse
380
-      url: "https://pub.dartlang.org"
380
+      url: "https://pub.flutter-io.cn"
381
     source: hosted
381
     source: hosted
382
     version: "1.2.0"
382
     version: "1.2.0"
383
   sky_engine:
383
   sky_engine:
389
     dependency: transitive
389
     dependency: transitive
390
     description:
390
     description:
391
       name: source_gen
391
       name: source_gen
392
-      url: "https://pub.dartlang.org"
392
+      url: "https://pub.flutter-io.cn"
393
     source: hosted
393
     source: hosted
394
     version: "1.2.2"
394
     version: "1.2.2"
395
   source_helper:
395
   source_helper:
396
     dependency: transitive
396
     dependency: transitive
397
     description:
397
     description:
398
       name: source_helper
398
       name: source_helper
399
-      url: "https://pub.dartlang.org"
399
+      url: "https://pub.flutter-io.cn"
400
     source: hosted
400
     source: hosted
401
     version: "1.3.2"
401
     version: "1.3.2"
402
   source_span:
402
   source_span:
403
     dependency: transitive
403
     dependency: transitive
404
     description:
404
     description:
405
       name: source_span
405
       name: source_span
406
-      url: "https://pub.dartlang.org"
406
+      url: "https://pub.flutter-io.cn"
407
     source: hosted
407
     source: hosted
408
     version: "1.8.1"
408
     version: "1.8.1"
409
   stack_trace:
409
   stack_trace:
410
     dependency: transitive
410
     dependency: transitive
411
     description:
411
     description:
412
       name: stack_trace
412
       name: stack_trace
413
-      url: "https://pub.dartlang.org"
413
+      url: "https://pub.flutter-io.cn"
414
     source: hosted
414
     source: hosted
415
     version: "1.10.0"
415
     version: "1.10.0"
416
   stream_channel:
416
   stream_channel:
417
     dependency: transitive
417
     dependency: transitive
418
     description:
418
     description:
419
       name: stream_channel
419
       name: stream_channel
420
-      url: "https://pub.dartlang.org"
420
+      url: "https://pub.flutter-io.cn"
421
     source: hosted
421
     source: hosted
422
     version: "2.1.0"
422
     version: "2.1.0"
423
   string_scanner:
423
   string_scanner:
424
     dependency: transitive
424
     dependency: transitive
425
     description:
425
     description:
426
       name: string_scanner
426
       name: string_scanner
427
-      url: "https://pub.dartlang.org"
427
+      url: "https://pub.flutter-io.cn"
428
     source: hosted
428
     source: hosted
429
     version: "1.1.0"
429
     version: "1.1.0"
430
   term_glyph:
430
   term_glyph:
431
     dependency: transitive
431
     dependency: transitive
432
     description:
432
     description:
433
       name: term_glyph
433
       name: term_glyph
434
-      url: "https://pub.dartlang.org"
434
+      url: "https://pub.flutter-io.cn"
435
     source: hosted
435
     source: hosted
436
     version: "1.2.0"
436
     version: "1.2.0"
437
   test_api:
437
   test_api:
438
     dependency: transitive
438
     dependency: transitive
439
     description:
439
     description:
440
       name: test_api
440
       name: test_api
441
-      url: "https://pub.dartlang.org"
441
+      url: "https://pub.flutter-io.cn"
442
     source: hosted
442
     source: hosted
443
     version: "0.4.8"
443
     version: "0.4.8"
444
   typed_data:
444
   typed_data:
445
     dependency: transitive
445
     dependency: transitive
446
     description:
446
     description:
447
       name: typed_data
447
       name: typed_data
448
-      url: "https://pub.dartlang.org"
448
+      url: "https://pub.flutter-io.cn"
449
     source: hosted
449
     source: hosted
450
     version: "1.3.0"
450
     version: "1.3.0"
451
   vector_math:
451
   vector_math:
452
     dependency: transitive
452
     dependency: transitive
453
     description:
453
     description:
454
       name: vector_math
454
       name: vector_math
455
-      url: "https://pub.dartlang.org"
455
+      url: "https://pub.flutter-io.cn"
456
     source: hosted
456
     source: hosted
457
     version: "2.1.1"
457
     version: "2.1.1"
458
   watcher:
458
   watcher:
459
     dependency: transitive
459
     dependency: transitive
460
     description:
460
     description:
461
       name: watcher
461
       name: watcher
462
-      url: "https://pub.dartlang.org"
462
+      url: "https://pub.flutter-io.cn"
463
     source: hosted
463
     source: hosted
464
     version: "1.0.1"
464
     version: "1.0.1"
465
   win32:
465
   win32:
466
     dependency: transitive
466
     dependency: transitive
467
     description:
467
     description:
468
       name: win32
468
       name: win32
469
-      url: "https://pub.dartlang.org"
469
+      url: "https://pub.flutter-io.cn"
470
     source: hosted
470
     source: hosted
471
     version: "2.5.1"
471
     version: "2.5.1"
472
   xdg_directories:
472
   xdg_directories:
473
     dependency: transitive
473
     dependency: transitive
474
     description:
474
     description:
475
       name: xdg_directories
475
       name: xdg_directories
476
-      url: "https://pub.dartlang.org"
476
+      url: "https://pub.flutter-io.cn"
477
     source: hosted
477
     source: hosted
478
     version: "0.2.0+1"
478
     version: "0.2.0+1"
479
   yaml:
479
   yaml:
480
     dependency: transitive
480
     dependency: transitive
481
     description:
481
     description:
482
       name: yaml
482
       name: yaml
483
-      url: "https://pub.dartlang.org"
483
+      url: "https://pub.flutter-io.cn"
484
     source: hosted
484
     source: hosted
485
     version: "3.1.0"
485
     version: "3.1.0"
486
 sdks:
486
 sdks: