浏览代码

MacCarsd ShowDialogfalss

[baozhangchao] 3 年前
父节点
当前提交
40d198330e

+ 25
- 31
lib/pages/MoreCars/index.dart 查看文件

@@ -35,36 +35,39 @@ class _MoreCarsState extends State<MoreCars> with TickerProviderStateMixin {
35 35
     return Scaffold(
36 36
         resizeToAvoidBottomInset: false,
37 37
         appBar: AppBar(
38
-          elevation: 0,
39 38
           centerTitle: true,
40
-          backgroundColor: Colors.white,
39
+          backgroundColor: Colors.transparent,
40
+          foregroundColor: const Color(0xFF333333),
41
+          elevation: 0,
42
+          toolbarHeight: 44.w,
41 43
           title: Text(
42 44
             '更多',
43 45
             style: TextStyle(
44
-                color: Colors.black,
46
+                color: const Color(0xFF333333),
47
+                fontWeight: FontWeight.bold,
45 48
                 fontSize: 17.sp,
46
-                letterSpacing: 2,
47
-                fontWeight: FontWeight.bold),
49
+                letterSpacing: 2),
48 50
           ),
49 51
         ),
50
-
51
-
52
-      body: Container(
53
-        decoration: BoxDecoration(
54
-            color: Colors.white
55
-        ),
56
-        child:       ListView(
57
-            children: [Column(
52
+        body: SafeArea(
53
+            child: Container(
54
+          decoration: BoxDecoration(color: Colors.white),
55
+          child: ListView(children: [
56
+            Column(
58 57
               children: [
59 58
                 Container(
60 59
                   padding: EdgeInsets.fromLTRB(0, 15, 0, 15),
61 60
                   width: 350.w,
62
-                  child: TypeHeader(type: false,),
61
+                  child: TypeHeader(
62
+                    type: false,
63
+                  ),
63 64
                 ),
64
-
65 65
                 TabBar(
66
-                  labelStyle: TextStyle(fontSize: ScreenUtil().setSp(19),fontWeight: FontWeight.bold), //选中的样式
67
-                  unselectedLabelStyle: TextStyle(fontSize:ScreenUtil().setSp(16)), //未选中的样式
66
+                  labelStyle: TextStyle(
67
+                      fontSize: ScreenUtil().setSp(19),
68
+                      fontWeight: FontWeight.bold), //选中的样式
69
+                  unselectedLabelStyle:
70
+                      TextStyle(fontSize: ScreenUtil().setSp(16)), //未选中的样式
68 71
                   controller: _controller,
69 72
                   isScrollable: true, //可滚动
70 73
                   indicatorColor: Colors.black, //指示器的颜色
@@ -75,24 +78,15 @@ class _MoreCarsState extends State<MoreCars> with TickerProviderStateMixin {
75 78
                   onTap: (int i) {
76 79
                     print('当前+${i}');
77 80
                   },
78
-
79 81
                 ),
80 82
                 Container(
81 83
                   child: Column(
82
-                    children: [
83
-
84
-                    ],
85
-                  )
86
-                  ,
84
+                    children: [],
85
+                  ),
87 86
                 )
88
-
89
-
90 87
               ],
91
-            )]
92
-
93
-        ),
94
-      )
95
-
96
-    );
88
+            )
89
+          ]),
90
+        )));
97 91
   }
98 92
 }

+ 1
- 1
lib/pages/OrderConfirmation/index.dart 查看文件

@@ -16,7 +16,7 @@ class OrderConfirmation extends BasicPage {
16 16
 
17 17
   @override
18 18
   Widget builder(BuildContext context) {
19
-    naviTitle = '咨讯';
19
+    naviTitle = '预约';
20 20
     return Container(
21 21
       height: 700.h,
22 22
       child: Form(

+ 1
- 1
lib/pages/home/index.dart 查看文件

@@ -20,7 +20,7 @@ class Home extends BasicPage {
20 20
       //   return Modal(type: 'dialog', title: '测试', message: '这是一段 message !', onConfirm: () => print('hahahaha'),);
21 21
       // } );
22 22
       // Get.dialog(Modal(type: 'dialog', title: '测试', message: '这是一段 message !', onConfirm: () => print('hahahaha'),));
23
-      modal.showDialog(title: '测试', content: SizedBox(width: 400, height: 300,), onConfirm: () => false);
23
+      // modal.showDialog(title: '测试', content: SizedBox(width: 400, height: 300,), onConfirm: () => false);
24 24
     }, 2000);
25 25
     
26 26
     return const HomePage();

+ 3
- 0
lib/pages/home/widgets/home/index.dart 查看文件

@@ -50,6 +50,9 @@ class _HomePageState extends State<HomePage> {
50 50
   @override
51 51
   Widget build(BuildContext context) {
52 52
     return Container(
53
+      decoration: BoxDecoration(
54
+        color: Colors.white
55
+      ),
53 56
       alignment: Alignment.center,
54 57
       padding: EdgeInsets.fromLTRB(15.w, 0, 15.w, 0),
55 58
       child: Column(

+ 1
- 1
lib/pages/home/widgets/home/widgets/headers.dart 查看文件

@@ -65,7 +65,7 @@ class _initWidget extends StatelessWidget {
65 65
   @override
66 66
   Widget build(BuildContext context) {
67 67
     return Container(
68
-        width: 255.w,
68
+        width: 250.w,
69 69
         height: 32.w,
70 70
         decoration: const BoxDecoration(color: Colors.white),
71 71
         child: GestureDetector(

+ 1
- 1
lib/pages/index.dart 查看文件

@@ -11,7 +11,7 @@ export 'infomation/index.dart';
11 11
 export 'main/index.dart';
12 12
 export 'order/index.dart';
13 13
 export 'orderInfo/index.dart';
14
-export 'search/index.jsx.dart';
14
+export 'search/index.dart';
15 15
 export 'userInfo/index.dart';
16 16
 export 'splash/splash.dart';
17 17
 export 'login/login.dart';

lib/pages/search/index.jsx.dart → lib/pages/search/index.dart 查看文件

@@ -2,15 +2,15 @@ import 'package:farmer_client/widgets/layout/BasicPage.dart';
2 2
 import 'package:flutter/material.dart';
3 3
 import 'package:flutter_screenutil/flutter_screenutil.dart';
4 4
 
5
+import '../../widgets/NullCard.dart';
6
+
5 7
 class SearchPage extends BasicPage {
6 8
 
7 9
   @override
8 10
   Widget builder(BuildContext context) {
9 11
     naviTitle = '搜索';
10 12
     return Container(
11
-        decoration: const BoxDecoration(
12
-          color: Colors.white,
13
-        ),
13
+
14 14
         child: Column(children: [
15 15
           Container(
16 16
             width: 345.w,
@@ -48,12 +48,10 @@ class SearchPage extends BasicPage {
48 48
               ],
49 49
             ),
50 50
           ),
51
-          Container(
52
-            child: Column(
53
-              children: [
54
-                // NullCard(text: '暂无农机信息'),
55
-              ],
56
-            ),
51
+          Column(
52
+            children: [
53
+              NullCard(text: '暂无农机信息'),
54
+            ],
57 55
           )
58 56
         ]));
59 57
   }

+ 66
- 55
lib/widgets/OrderListCard.dart 查看文件

@@ -11,7 +11,6 @@ import 'LinearGradientText.dart';
11 11
 class OrderListCard extends StatefulWidget {
12 12
 
13 13
   final OrderListAll item;
14
-
15 14
   const OrderListCard({Key? key, required this.item}) : super(key: key);
16 15
 
17 16
   @override
@@ -19,66 +18,77 @@ class OrderListCard extends StatefulWidget {
19 18
 }
20 19
 
21 20
 
21
+class StyleObj {
22
+  String title;
23
+  Color styleColor;
24
+  StyleObj ({ required this.title, required this.styleColor});
25
+}
26
+
22 27
 
23 28
 
24 29
 class _OrderListCardPages extends State<OrderListCard> {
25 30
 
26
-  final OrderListAll item;
27 31
 
28
-  _OrderListCardPages(this.item);
29 32
 
33
+  @override
34
+  void initState() {
35
+    // TODO: implement initState
36
+    super.initState();
30 37
 
31
-  void orderStates(item){
32
-    // if (item.payStatus == 0) {
33
-    //   return {
34
-    //     title: '待付款',
35
-    //     styleColor: '#51D4FF'
36
-    //   };
37
-    // } else if (item.payStatus == 1 && item.workStatus == 0 && item.dispatchStatus == 0) {
38
-    //   return {
39
-    //     title: '已付款',
40
-    //     styleColor: '#FF703B'
41
-    //   };
42
-    // } else if (item.payStatus == 1 && item.dispatchStatus == 1 && item.workStatus == 0) {
43
-    //   return {
44
-    //     title: '待作业',
45
-    //     styleColor: '#FF703B'
46
-    //   };
47
-    //
48
-    // } else if (item.payStatus == 1 && (item.workStatus == 1 || item.workStatus == 2)) {
49
-    //   return {
50
-    //     title: '进行中',
51
-    //     styleColor: '#44F68B'
52
-    //   };
53
-    // } else if (item.workStatus == 3 && item.isEvaluated == 0) {
54
-    //   return {
55
-    //     title: '待评价',
56
-    //     styleColor: '#51D4FF'
57
-    //   };
58
-    // } if (item.workStatus == 3 && item.isEvaluated == 1 && item.dispatchStatus == 1) {
59
-    //   return {
60
-    //     title: '已完成',
61
-    //     styleColor: '#FF703B'
62
-    //   };
63
-    // } else if (item.payStatus == -1 && item.workStatus == 0 && item.isRefund == 1) {
64
-    //   return {
65
-    //     title: '已退单',
66
-    //     styleColor: '#FF703B'
67
-    //   };
68
-    // } else if (item.payStatus == 3 && (item.dispatchStatus == 1 || item.dispatchStatus == 0)) {
69
-    //   return {
70
-    //     title: '退单申请中',
71
-    //     styleColor: '#FF703B'
72
-    //   };
73
-    // } else {
74
-    //   return {
75
-    //     title: '异常',
76
-    //     styleColor: '#FF0000'
77
-    //   };
78
-    // }
38
+  }
79 39
 
40
+  final OrderListAll item;
41
+
42
+  _OrderListCardPages(this.item);
80 43
 
81 44
 
45
+  StyleObj  orderStates(){
46
+    if (item.payStatus == 0) {
47
+      return StyleObj(
48
+          title: '待付款',
49
+          styleColor: Color(0xFF51D4FF)
50
+      );
51
+    } else if (item.payStatus == 1 && item.workStatus == 0 && item.dispatchStatus == 0) {
52
+      return StyleObj(
53
+          title: '已付款',
54
+          styleColor: Color(0xFFFF703B)
55
+      );
56
+    } else if (item.payStatus == 1 && item.dispatchStatus == 1 && item.workStatus == 0) {
57
+      return StyleObj(
58
+          title: '待作业',
59
+          styleColor: Color(0xFFFF703B)
60
+      );
61
+    } else if (item.payStatus == 1 && (item.workStatus == 1 || item.workStatus == 2)) {
62
+      return StyleObj(
63
+          title: '进行中',
64
+          styleColor: Color(0xFF44F68B)
65
+      );
66
+    } else if (item.workStatus == 3 && item.isEvaluated == 0) {
67
+      return StyleObj(
68
+          title: '待评价',
69
+          styleColor: Color(0xFF51D4FF)
70
+      );
71
+    } if (item.workStatus == 3 && item.isEvaluated == 1 && item.dispatchStatus == 1) {
72
+      return StyleObj(
73
+          title: '已完成',
74
+          styleColor: Color(0xFFFF703B)
75
+      );
76
+    } else if (item.payStatus == -1 && item.workStatus == 0 && item.isRefund == 1) {
77
+      return StyleObj(
78
+          title: '已退单',
79
+          styleColor: Color(0xFFFF703B)
80
+      );
81
+    } else if (item.payStatus == 3 && (item.dispatchStatus == 1 || item.dispatchStatus == 0)) {
82
+      return StyleObj(
83
+          title: '退单申请中',
84
+          styleColor: Color(0xFFFF703B)
85
+      );
86
+    } else {
87
+      return StyleObj(
88
+          title: '异常',
89
+          styleColor: Color(0xFFFF0000)
90
+      );
91
+    }
82 92
   }
83 93
 
84 94
 
@@ -252,17 +262,17 @@ class _OrderListCardPages extends State<OrderListCard> {
252 262
                     mainAxisAlignment: MainAxisAlignment.spaceBetween,
253 263
                     children: [
254 264
                       RichText(
255
-                        text: const TextSpan(children: <InlineSpan>[
265
+                        text:  TextSpan(children: <InlineSpan>[
256 266
                           TextSpan(
257 267
                               text: '订单状态:',
258 268
                               style: TextStyle(
259
-                                  color: Color(0xff666666),
269
+                                  color:Color(0xff666666),
260 270
                                   fontSize: 16,
261 271
                                   fontWeight: FontWeight.bold)),
262 272
                           TextSpan(
263
-                              text: '待付款',
273
+                              text: orderStates().title,
264 274
                               style: TextStyle(
265
-                                  color: Color(0xff51D4FF),
275
+                                  color:orderStates().styleColor,
266 276
                                   fontSize: 16,
267 277
                                   fontWeight: FontWeight.bold)),
268 278
                         ]),
@@ -315,3 +325,4 @@ class _OrderListCardPages extends State<OrderListCard> {
315 325
     );
316 326
   }
317 327
 }
328
+

+ 75
- 75
pubspec.lock 查看文件

@@ -5,168 +5,168 @@ packages:
5 5
     dependency: transitive
6 6
     description:
7 7
       name: _fe_analyzer_shared
8
-      url: "https://pub.flutter-io.cn"
8
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
15
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
22
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
29
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
36
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
43
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
50
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
57
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
64
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
71
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
78
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
85
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
92
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
99
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
106
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
113
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
120
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
127
+      url: "https://pub.dartlang.org"
128 128
     source: hosted
129 129
     version: "3.0.1"
130 130
   cupertino_icons:
131 131
     dependency: "direct main"
132 132
     description:
133 133
       name: cupertino_icons
134
-      url: "https://pub.flutter-io.cn"
134
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
141
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
148
+      url: "https://pub.dartlang.org"
149 149
     source: hosted
150 150
     version: "4.0.6"
151 151
   fake_async:
152 152
     dependency: transitive
153 153
     description:
154 154
       name: fake_async
155
-      url: "https://pub.flutter-io.cn"
155
+      url: "https://pub.dartlang.org"
156 156
     source: hosted
157 157
     version: "1.2.0"
158 158
   ffi:
159 159
     dependency: transitive
160 160
     description:
161 161
       name: ffi
162
-      url: "https://pub.flutter-io.cn"
162
+      url: "https://pub.dartlang.org"
163 163
     source: hosted
164 164
     version: "1.1.2"
165 165
   file:
166 166
     dependency: transitive
167 167
     description:
168 168
       name: file
169
-      url: "https://pub.flutter-io.cn"
169
+      url: "https://pub.dartlang.org"
170 170
     source: hosted
171 171
     version: "6.1.2"
172 172
   flutter:
@@ -178,7 +178,7 @@ packages:
178 178
     dependency: "direct dev"
179 179
     description:
180 180
       name: flutter_lints
181
-      url: "https://pub.flutter-io.cn"
181
+      url: "https://pub.dartlang.org"
182 182
     source: hosted
183 183
     version: "1.0.4"
184 184
   flutter_localizations:
@@ -190,14 +190,14 @@ packages:
190 190
     dependency: transitive
191 191
     description:
192 192
       name: flutter_plugin_android_lifecycle
193
-      url: "https://pub.flutter-io.cn"
193
+      url: "https://pub.dartlang.org"
194 194
     source: hosted
195 195
     version: "2.0.5"
196 196
   flutter_screenutil:
197 197
     dependency: "direct main"
198 198
     description:
199 199
       name: flutter_screenutil
200
-      url: "https://pub.flutter-io.cn"
200
+      url: "https://pub.dartlang.org"
201 201
     source: hosted
202 202
     version: "5.4.0+1"
203 203
   flutter_test:
@@ -214,231 +214,231 @@ packages:
214 214
     dependency: "direct main"
215 215
     description:
216 216
       name: fluttertoast
217
-      url: "https://pub.flutter-io.cn"
217
+      url: "https://pub.dartlang.org"
218 218
     source: hosted
219 219
     version: "8.0.9"
220 220
   get:
221 221
     dependency: "direct main"
222 222
     description:
223 223
       name: get
224
-      url: "https://pub.flutter-io.cn"
224
+      url: "https://pub.dartlang.org"
225 225
     source: hosted
226 226
     version: "4.6.1"
227 227
   get_storage:
228 228
     dependency: "direct main"
229 229
     description:
230 230
       name: get_storage
231
-      url: "https://pub.flutter-io.cn"
231
+      url: "https://pub.dartlang.org"
232 232
     source: hosted
233 233
     version: "2.0.3"
234 234
   glob:
235 235
     dependency: transitive
236 236
     description:
237 237
       name: glob
238
-      url: "https://pub.flutter-io.cn"
238
+      url: "https://pub.dartlang.org"
239 239
     source: hosted
240 240
     version: "2.0.2"
241 241
   http_parser:
242 242
     dependency: transitive
243 243
     description:
244 244
       name: http_parser
245
-      url: "https://pub.flutter-io.cn"
245
+      url: "https://pub.dartlang.org"
246 246
     source: hosted
247 247
     version: "4.0.0"
248 248
   intl:
249 249
     dependency: transitive
250 250
     description:
251 251
       name: intl
252
-      url: "https://pub.flutter-io.cn"
252
+      url: "https://pub.dartlang.org"
253 253
     source: hosted
254 254
     version: "0.17.0"
255 255
   js:
256 256
     dependency: transitive
257 257
     description:
258 258
       name: js
259
-      url: "https://pub.flutter-io.cn"
259
+      url: "https://pub.dartlang.org"
260 260
     source: hosted
261 261
     version: "0.6.3"
262 262
   json_annotation:
263 263
     dependency: transitive
264 264
     description:
265 265
       name: json_annotation
266
-      url: "https://pub.flutter-io.cn"
266
+      url: "https://pub.dartlang.org"
267 267
     source: hosted
268 268
     version: "4.4.0"
269 269
   json_serializable:
270 270
     dependency: "direct main"
271 271
     description:
272 272
       name: json_serializable
273
-      url: "https://pub.flutter-io.cn"
273
+      url: "https://pub.dartlang.org"
274 274
     source: hosted
275 275
     version: "6.1.6"
276 276
   lints:
277 277
     dependency: transitive
278 278
     description:
279 279
       name: lints
280
-      url: "https://pub.flutter-io.cn"
280
+      url: "https://pub.dartlang.org"
281 281
     source: hosted
282 282
     version: "1.0.1"
283 283
   logging:
284 284
     dependency: transitive
285 285
     description:
286 286
       name: logging
287
-      url: "https://pub.flutter-io.cn"
287
+      url: "https://pub.dartlang.org"
288 288
     source: hosted
289 289
     version: "1.0.2"
290 290
   matcher:
291 291
     dependency: transitive
292 292
     description:
293 293
       name: matcher
294
-      url: "https://pub.flutter-io.cn"
294
+      url: "https://pub.dartlang.org"
295 295
     source: hosted
296 296
     version: "0.12.11"
297 297
   material_color_utilities:
298 298
     dependency: transitive
299 299
     description:
300 300
       name: material_color_utilities
301
-      url: "https://pub.flutter-io.cn"
301
+      url: "https://pub.dartlang.org"
302 302
     source: hosted
303 303
     version: "0.1.3"
304 304
   meta:
305 305
     dependency: transitive
306 306
     description:
307 307
       name: meta
308
-      url: "https://pub.flutter-io.cn"
308
+      url: "https://pub.dartlang.org"
309 309
     source: hosted
310 310
     version: "1.7.0"
311 311
   package_config:
312 312
     dependency: transitive
313 313
     description:
314 314
       name: package_config
315
-      url: "https://pub.flutter-io.cn"
315
+      url: "https://pub.dartlang.org"
316 316
     source: hosted
317 317
     version: "2.0.2"
318 318
   path:
319 319
     dependency: transitive
320 320
     description:
321 321
       name: path
322
-      url: "https://pub.flutter-io.cn"
322
+      url: "https://pub.dartlang.org"
323 323
     source: hosted
324 324
     version: "1.8.0"
325 325
   path_provider:
326 326
     dependency: transitive
327 327
     description:
328 328
       name: path_provider
329
-      url: "https://pub.flutter-io.cn"
329
+      url: "https://pub.dartlang.org"
330 330
     source: hosted
331 331
     version: "2.0.9"
332 332
   path_provider_android:
333 333
     dependency: transitive
334 334
     description:
335 335
       name: path_provider_android
336
-      url: "https://pub.flutter-io.cn"
336
+      url: "https://pub.dartlang.org"
337 337
     source: hosted
338 338
     version: "2.0.12"
339 339
   path_provider_ios:
340 340
     dependency: transitive
341 341
     description:
342 342
       name: path_provider_ios
343
-      url: "https://pub.flutter-io.cn"
343
+      url: "https://pub.dartlang.org"
344 344
     source: hosted
345 345
     version: "2.0.8"
346 346
   path_provider_linux:
347 347
     dependency: transitive
348 348
     description:
349 349
       name: path_provider_linux
350
-      url: "https://pub.flutter-io.cn"
350
+      url: "https://pub.dartlang.org"
351 351
     source: hosted
352 352
     version: "2.1.5"
353 353
   path_provider_macos:
354 354
     dependency: transitive
355 355
     description:
356 356
       name: path_provider_macos
357
-      url: "https://pub.flutter-io.cn"
357
+      url: "https://pub.dartlang.org"
358 358
     source: hosted
359 359
     version: "2.0.5"
360 360
   path_provider_platform_interface:
361 361
     dependency: transitive
362 362
     description:
363 363
       name: path_provider_platform_interface
364
-      url: "https://pub.flutter-io.cn"
364
+      url: "https://pub.dartlang.org"
365 365
     source: hosted
366 366
     version: "2.0.3"
367 367
   path_provider_windows:
368 368
     dependency: transitive
369 369
     description:
370 370
       name: path_provider_windows
371
-      url: "https://pub.flutter-io.cn"
371
+      url: "https://pub.dartlang.org"
372 372
     source: hosted
373 373
     version: "2.0.5"
374 374
   permission_handler:
375 375
     dependency: "direct main"
376 376
     description:
377 377
       name: permission_handler
378
-      url: "https://pub.flutter-io.cn"
378
+      url: "https://pub.dartlang.org"
379 379
     source: hosted
380 380
     version: "9.2.0"
381 381
   permission_handler_android:
382 382
     dependency: transitive
383 383
     description:
384 384
       name: permission_handler_android
385
-      url: "https://pub.flutter-io.cn"
385
+      url: "https://pub.dartlang.org"
386 386
     source: hosted
387 387
     version: "9.0.2+1"
388 388
   permission_handler_apple:
389 389
     dependency: transitive
390 390
     description:
391 391
       name: permission_handler_apple
392
-      url: "https://pub.flutter-io.cn"
392
+      url: "https://pub.dartlang.org"
393 393
     source: hosted
394 394
     version: "9.0.4"
395 395
   permission_handler_platform_interface:
396 396
     dependency: transitive
397 397
     description:
398 398
       name: permission_handler_platform_interface
399
-      url: "https://pub.flutter-io.cn"
399
+      url: "https://pub.dartlang.org"
400 400
     source: hosted
401 401
     version: "3.7.0"
402 402
   permission_handler_windows:
403 403
     dependency: transitive
404 404
     description:
405 405
       name: permission_handler_windows
406
-      url: "https://pub.flutter-io.cn"
406
+      url: "https://pub.dartlang.org"
407 407
     source: hosted
408 408
     version: "0.1.0"
409 409
   platform:
410 410
     dependency: transitive
411 411
     description:
412 412
       name: platform
413
-      url: "https://pub.flutter-io.cn"
413
+      url: "https://pub.dartlang.org"
414 414
     source: hosted
415 415
     version: "3.1.0"
416 416
   plugin_platform_interface:
417 417
     dependency: transitive
418 418
     description:
419 419
       name: plugin_platform_interface
420
-      url: "https://pub.flutter-io.cn"
420
+      url: "https://pub.dartlang.org"
421 421
     source: hosted
422 422
     version: "2.1.2"
423 423
   process:
424 424
     dependency: transitive
425 425
     description:
426 426
       name: process
427
-      url: "https://pub.flutter-io.cn"
427
+      url: "https://pub.dartlang.org"
428 428
     source: hosted
429 429
     version: "4.2.4"
430 430
   pub_semver:
431 431
     dependency: transitive
432 432
     description:
433 433
       name: pub_semver
434
-      url: "https://pub.flutter-io.cn"
434
+      url: "https://pub.dartlang.org"
435 435
     source: hosted
436 436
     version: "2.1.1"
437 437
   pubspec_parse:
438 438
     dependency: transitive
439 439
     description:
440 440
       name: pubspec_parse
441
-      url: "https://pub.flutter-io.cn"
441
+      url: "https://pub.dartlang.org"
442 442
     source: hosted
443 443
     version: "1.2.0"
444 444
   sky_engine:
@@ -450,105 +450,105 @@ packages:
450 450
     dependency: transitive
451 451
     description:
452 452
       name: source_gen
453
-      url: "https://pub.flutter-io.cn"
453
+      url: "https://pub.dartlang.org"
454 454
     source: hosted
455 455
     version: "1.2.2"
456 456
   source_helper:
457 457
     dependency: transitive
458 458
     description:
459 459
       name: source_helper
460
-      url: "https://pub.flutter-io.cn"
460
+      url: "https://pub.dartlang.org"
461 461
     source: hosted
462 462
     version: "1.3.2"
463 463
   source_span:
464 464
     dependency: transitive
465 465
     description:
466 466
       name: source_span
467
-      url: "https://pub.flutter-io.cn"
467
+      url: "https://pub.dartlang.org"
468 468
     source: hosted
469 469
     version: "1.8.1"
470 470
   stack_trace:
471 471
     dependency: transitive
472 472
     description:
473 473
       name: stack_trace
474
-      url: "https://pub.flutter-io.cn"
474
+      url: "https://pub.dartlang.org"
475 475
     source: hosted
476 476
     version: "1.10.0"
477 477
   stream_channel:
478 478
     dependency: transitive
479 479
     description:
480 480
       name: stream_channel
481
-      url: "https://pub.flutter-io.cn"
481
+      url: "https://pub.dartlang.org"
482 482
     source: hosted
483 483
     version: "2.1.0"
484 484
   stream_transform:
485 485
     dependency: transitive
486 486
     description:
487 487
       name: stream_transform
488
-      url: "https://pub.flutter-io.cn"
488
+      url: "https://pub.dartlang.org"
489 489
     source: hosted
490 490
     version: "2.0.0"
491 491
   string_scanner:
492 492
     dependency: transitive
493 493
     description:
494 494
       name: string_scanner
495
-      url: "https://pub.flutter-io.cn"
495
+      url: "https://pub.dartlang.org"
496 496
     source: hosted
497 497
     version: "1.1.0"
498 498
   term_glyph:
499 499
     dependency: transitive
500 500
     description:
501 501
       name: term_glyph
502
-      url: "https://pub.flutter-io.cn"
502
+      url: "https://pub.dartlang.org"
503 503
     source: hosted
504 504
     version: "1.2.0"
505 505
   test_api:
506 506
     dependency: transitive
507 507
     description:
508 508
       name: test_api
509
-      url: "https://pub.flutter-io.cn"
509
+      url: "https://pub.dartlang.org"
510 510
     source: hosted
511 511
     version: "0.4.8"
512 512
   typed_data:
513 513
     dependency: transitive
514 514
     description:
515 515
       name: typed_data
516
-      url: "https://pub.flutter-io.cn"
516
+      url: "https://pub.dartlang.org"
517 517
     source: hosted
518 518
     version: "1.3.0"
519 519
   vector_math:
520 520
     dependency: transitive
521 521
     description:
522 522
       name: vector_math
523
-      url: "https://pub.flutter-io.cn"
523
+      url: "https://pub.dartlang.org"
524 524
     source: hosted
525 525
     version: "2.1.1"
526 526
   watcher:
527 527
     dependency: transitive
528 528
     description:
529 529
       name: watcher
530
-      url: "https://pub.flutter-io.cn"
530
+      url: "https://pub.dartlang.org"
531 531
     source: hosted
532 532
     version: "1.0.1"
533 533
   win32:
534 534
     dependency: transitive
535 535
     description:
536 536
       name: win32
537
-      url: "https://pub.flutter-io.cn"
537
+      url: "https://pub.dartlang.org"
538 538
     source: hosted
539 539
     version: "2.5.1"
540 540
   xdg_directories:
541 541
     dependency: transitive
542 542
     description:
543 543
       name: xdg_directories
544
-      url: "https://pub.flutter-io.cn"
544
+      url: "https://pub.dartlang.org"
545 545
     source: hosted
546 546
     version: "0.2.0+1"
547 547
   yaml:
548 548
     dependency: transitive
549 549
     description:
550 550
       name: yaml
551
-      url: "https://pub.flutter-io.cn"
551
+      url: "https://pub.dartlang.org"
552 552
     source: hosted
553 553
     version: "3.1.0"
554 554
 sdks: