李志伟 3 gadus atpakaļ
vecāks
revīzija
2065cd66a0

Binārs
images/icons/feedbackIcon.png Parādīt failu


+ 32
- 27
lib/pages/TabBar/widgets/main/widgets/OtherColumn.dart Parādīt failu

@@ -117,33 +117,38 @@ class OtherColumn extends StatelessWidget {
117 117
                       ),
118 118
                     ),
119 119
                   ),
120
-                  Container(
121
-                    margin: EdgeInsets.fromLTRB(0, 10.w, 0, 20.w),
122
-                    width: 310.w,
123
-                    height: 45.w,
124
-                    decoration: const BoxDecoration(
125
-                        border: Border(
126
-                            bottom:
127
-                                BorderSide(width: 0.5, color: Color(0x20000000)
128
-                                    // 0x17000000
129
-                                    ))),
130
-                    child: ListTile(
131
-                      contentPadding: EdgeInsets.symmetric(horizontal: 0.0),
132
-                      leading: Image(
133
-                        image: AssetImage('images/feedbacks.png'),
134
-                        width: 18.w,
135
-                        height: 21.w,
136
-                      ),
137
-                      title: Transform(
138
-                        transform: Matrix4.translationValues(-20, 0.0, 0.0),
139
-                        child: Text("意见反馈",
140
-                            style: TextStyle(
141
-                                fontSize: 17.sp, color: Color(0xff333333))),
142
-                      ),
143
-                      trailing: Image(
144
-                        image: AssetImage('images/userRight.png'),
145
-                        width: 10.w,
146
-                        height: 18.w,
120
+                  GestureDetector(
121
+                    onTap: () {
122
+                      Get.toNamed('/feedback');
123
+                    },
124
+                    child: Container(
125
+                      margin: EdgeInsets.fromLTRB(0, 10.w, 0, 20.w),
126
+                      width: 310.w,
127
+                      height: 45.w,
128
+                      decoration: const BoxDecoration(
129
+                          border: Border(
130
+                              bottom: BorderSide(
131
+                                  width: 0.5, color: Color(0x20000000)
132
+                                  // 0x17000000
133
+                                  ))),
134
+                      child: ListTile(
135
+                        contentPadding: EdgeInsets.symmetric(horizontal: 0.0),
136
+                        leading: Image(
137
+                          image: AssetImage('images/feedbacks.png'),
138
+                          width: 18.w,
139
+                          height: 21.w,
140
+                        ),
141
+                        title: Transform(
142
+                          transform: Matrix4.translationValues(-20, 0.0, 0.0),
143
+                          child: Text("意见反馈",
144
+                              style: TextStyle(
145
+                                  fontSize: 17.sp, color: Color(0xff333333))),
146
+                        ),
147
+                        trailing: Image(
148
+                          image: AssetImage('images/userRight.png'),
149
+                          width: 10.w,
150
+                          height: 18.w,
151
+                        ),
147 152
                       ),
148 153
                     ),
149 154
                   ),

+ 117
- 0
lib/pages/feedback/index.dart Parādīt failu

@@ -0,0 +1,117 @@
1
+import 'package:farmer_client/models/entities/Address.dart';
2
+import 'package:farmer_client/widgets/DefaultButton.dart';
3
+import 'package:flutter/material.dart';
4
+import 'package:flutter_screenutil/flutter_screenutil.dart';
5
+import 'package:fluttertoast/fluttertoast.dart';
6
+import 'package:get/get.dart';
7
+
8
+class Feedback extends StatefulWidget {
9
+  const Feedback({Key? key}) : super(key: key);
10
+
11
+  @override
12
+  _Feedback createState() => _Feedback();
13
+}
14
+
15
+class _Feedback extends State<Feedback> {
16
+  String text = '';
17
+  bool isEdit=false;
18
+  @override
19
+  Widget build(BuildContext context) {
20
+    return Scaffold(
21
+      resizeToAvoidBottomInset: false,
22
+      appBar: AppBar(
23
+        elevation: 0,
24
+        centerTitle: true,
25
+        backgroundColor: Colors.white,
26
+        title: Text(
27
+          '意见反馈',
28
+          style: TextStyle(
29
+              color: Colors.black,
30
+              fontSize: 17.sp,
31
+              letterSpacing: 2,
32
+              fontWeight: FontWeight.bold),
33
+        ),
34
+      ),
35
+      body: Container(
36
+        height: 700.h,
37
+        padding: EdgeInsets.all(15.w),
38
+        child: Stack(
39
+          children: [
40
+            Container(
41
+              margin: EdgeInsets.fromLTRB(0, 0, 0, 50.h),
42
+              padding: EdgeInsets.symmetric(vertical: 5.w, horizontal: 18.5.w),
43
+              decoration: BoxDecoration(
44
+                  color: const Color(0xFFfefefe),
45
+                  borderRadius: BorderRadius.all(Radius.circular(10.w)),
46
+                  border: Border.all(
47
+                      color: const Color(0xcc000000),
48
+                      width: 1.h,
49
+                      style: BorderStyle.solid)),
50
+              child: TextFormField(
51
+                minLines: 6,
52
+                maxLines: 6,
53
+                style: TextStyle(fontSize: 17.sp, height: 1.5),
54
+                decoration: const InputDecoration(
55
+                  isCollapsed: true,
56
+                  border: InputBorder.none,
57
+                  counterText: '', //去掉计数
58
+                  floatingLabelBehavior: FloatingLabelBehavior.never,
59
+                ),
60
+                onTap: () {
61
+                  setState(() {
62
+                    isEdit=true;
63
+                  });
64
+                },
65
+                onChanged: (e) {
66
+                  setState(() {
67
+                    text = e;
68
+                  });
69
+                },
70
+              ),
71
+            ),
72
+            if(!isEdit) Positioned(
73
+              left: 20.w,
74
+              top: 5.w,
75
+              child: Row(
76
+                children: [
77
+                  Image.asset(
78
+                    'images/icons/feedbackIcon.png',
79
+                    width: 15.w,
80
+                  ),
81
+                  Text(
82
+                    '请留下您宝贵的意见和建议!',
83
+                    style: TextStyle(
84
+                        fontSize: 17.sp,
85
+                        letterSpacing: 2,
86
+                        color: Color(0xFFBEBDBD)),
87
+                  ),
88
+                ],
89
+              ),
90
+            ),
91
+            Positioned(
92
+              bottom: 25.h,
93
+              child: DefaultButton(
94
+                color: const Color(0xffffffff),
95
+                backColor: const Color(0xFFFF703B),
96
+                width: 345.w,
97
+                height: 49.h,
98
+                text: '提交',
99
+                onPressed: () {
100
+                  if (text == '') {
101
+                    Fluttertoast.showToast(msg: '请输入内容哦');
102
+                  } else {
103
+                    Fluttertoast.showToast(msg: '提交成功!');
104
+                    Get.back();
105
+                  }
106
+                },
107
+                margin: const EdgeInsets.all(0),
108
+                fontSize: 20.sp,
109
+                radius: 24.5.w,
110
+              ),
111
+            ),
112
+          ],
113
+        ),
114
+      ),
115
+    );
116
+  }
117
+}

+ 1
- 1
lib/pages/login/login.dart Parādīt failu

@@ -289,7 +289,7 @@ class _RouteLogin extends State<MyRouteLogin> {
289 289
                             recognizer:
290 290
                             TapGestureRecognizer() //踩坑。。。recognizer 是手势交互 除了我现在些的是 点击交互,其他一般都是抽象类。
291 291
                               ..onTap = () {
292
-                                print('阅读已同意!!!');
292
+                                Get.toNamed('/agreement');
293 293
                               },
294 294
                           ),
295 295
                           const TextSpan(

+ 2
- 1
lib/routes/middleWares.dart Parādīt failu

@@ -8,7 +8,8 @@ void routingCallback (routing) {
8 8
   bool isLogin = box.hasData('token');
9 9
   bool isSplashScreen = routing?.current == '/splash';
10 10
   bool isLoginPage = routing?.current == '/login';
11
-  if (!isLogin && !isSplashScreen && !isLoginPage) {
11
+  bool isAgreementPage = routing?.current == '/agreement';
12
+  if (!isLogin && !isSplashScreen && !isLoginPage&&!isAgreementPage) {
12 13
     // addPostFrameCallback 作用是等当前帧绘制完成之后再加载
13 14
     // https://github.com/jonataslaw/getx/issues/262
14 15
     SchedulerBinding.instance?.addPostFrameCallback((_) => Get.offNamed('/login'));

+ 2
- 0
lib/routes/pages.dart Parādīt failu

@@ -4,6 +4,7 @@ import 'package:farmer_client/pages/aboutUs/index.dart';
4 4
 import 'package:farmer_client/pages/addAddress/index.dart';
5 5
 import 'package:farmer_client/pages/addressList/index.dart';
6 6
 import 'package:farmer_client/pages/agreement/index.dart';
7
+import 'package:farmer_client/pages/feedback/index.dart';
7 8
 import 'package:farmer_client/pages/userInfo/index.dart';
8 9
 import 'package:get/get.dart';
9 10
 import '../pages/index.dart';
@@ -20,4 +21,5 @@ List<GetPage> pages = [
20 21
   GetPage(name: '/machineryMap', page: () =>  MachineryMapPage()),
21 22
   GetPage(name: '/aboutUs', page: () =>  AboutUs()),
22 23
   GetPage(name: '/agreement', page: () =>  Agreement()),
24
+  GetPage(name: '/feedback', page: () =>  Feedback()),
23 25
 ];

+ 71
- 71
pubspec.lock Parādīt failu

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