Przeglądaj źródła

MacCarsd ShowDialogfalss

[baozhangchao] 3 lat temu
rodzic
commit
40d198330e

+ 25
- 31
lib/pages/MoreCars/index.dart Wyświetl plik

35
     return Scaffold(
35
     return Scaffold(
36
         resizeToAvoidBottomInset: false,
36
         resizeToAvoidBottomInset: false,
37
         appBar: AppBar(
37
         appBar: AppBar(
38
-          elevation: 0,
39
           centerTitle: true,
38
           centerTitle: true,
40
-          backgroundColor: Colors.white,
39
+          backgroundColor: Colors.transparent,
40
+          foregroundColor: const Color(0xFF333333),
41
+          elevation: 0,
42
+          toolbarHeight: 44.w,
41
           title: Text(
43
           title: Text(
42
             '更多',
44
             '更多',
43
             style: TextStyle(
45
             style: TextStyle(
44
-                color: Colors.black,
46
+                color: const Color(0xFF333333),
47
+                fontWeight: FontWeight.bold,
45
                 fontSize: 17.sp,
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
               children: [
57
               children: [
59
                 Container(
58
                 Container(
60
                   padding: EdgeInsets.fromLTRB(0, 15, 0, 15),
59
                   padding: EdgeInsets.fromLTRB(0, 15, 0, 15),
61
                   width: 350.w,
60
                   width: 350.w,
62
-                  child: TypeHeader(type: false,),
61
+                  child: TypeHeader(
62
+                    type: false,
63
+                  ),
63
                 ),
64
                 ),
64
-
65
                 TabBar(
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
                   controller: _controller,
71
                   controller: _controller,
69
                   isScrollable: true, //可滚动
72
                   isScrollable: true, //可滚动
70
                   indicatorColor: Colors.black, //指示器的颜色
73
                   indicatorColor: Colors.black, //指示器的颜色
75
                   onTap: (int i) {
78
                   onTap: (int i) {
76
                     print('当前+${i}');
79
                     print('当前+${i}');
77
                   },
80
                   },
78
-
79
                 ),
81
                 ),
80
                 Container(
82
                 Container(
81
                   child: Column(
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 Wyświetl plik

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

+ 1
- 1
lib/pages/home/index.dart Wyświetl plik

20
       //   return Modal(type: 'dialog', title: '测试', message: '这是一段 message !', onConfirm: () => print('hahahaha'),);
20
       //   return Modal(type: 'dialog', title: '测试', message: '这是一段 message !', onConfirm: () => print('hahahaha'),);
21
       // } );
21
       // } );
22
       // Get.dialog(Modal(type: 'dialog', title: '测试', message: '这是一段 message !', onConfirm: () => print('hahahaha'),));
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
     }, 2000);
24
     }, 2000);
25
     
25
     
26
     return const HomePage();
26
     return const HomePage();

+ 3
- 0
lib/pages/home/widgets/home/index.dart Wyświetl plik

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

+ 1
- 1
lib/pages/home/widgets/home/widgets/headers.dart Wyświetl plik

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

+ 1
- 1
lib/pages/index.dart Wyświetl plik

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

lib/pages/search/index.jsx.dart → lib/pages/search/index.dart Wyświetl plik

2
 import 'package:flutter/material.dart';
2
 import 'package:flutter/material.dart';
3
 import 'package:flutter_screenutil/flutter_screenutil.dart';
3
 import 'package:flutter_screenutil/flutter_screenutil.dart';
4
 
4
 
5
+import '../../widgets/NullCard.dart';
6
+
5
 class SearchPage extends BasicPage {
7
 class SearchPage extends BasicPage {
6
 
8
 
7
   @override
9
   @override
8
   Widget builder(BuildContext context) {
10
   Widget builder(BuildContext context) {
9
     naviTitle = '搜索';
11
     naviTitle = '搜索';
10
     return Container(
12
     return Container(
11
-        decoration: const BoxDecoration(
12
-          color: Colors.white,
13
-        ),
13
+
14
         child: Column(children: [
14
         child: Column(children: [
15
           Container(
15
           Container(
16
             width: 345.w,
16
             width: 345.w,
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 Wyświetl plik

11
 class OrderListCard extends StatefulWidget {
11
 class OrderListCard extends StatefulWidget {
12
 
12
 
13
   final OrderListAll item;
13
   final OrderListAll item;
14
-
15
   const OrderListCard({Key? key, required this.item}) : super(key: key);
14
   const OrderListCard({Key? key, required this.item}) : super(key: key);
16
 
15
 
17
   @override
16
   @override
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
 class _OrderListCardPages extends State<OrderListCard> {
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
                     mainAxisAlignment: MainAxisAlignment.spaceBetween,
262
                     mainAxisAlignment: MainAxisAlignment.spaceBetween,
253
                     children: [
263
                     children: [
254
                       RichText(
264
                       RichText(
255
-                        text: const TextSpan(children: <InlineSpan>[
265
+                        text:  TextSpan(children: <InlineSpan>[
256
                           TextSpan(
266
                           TextSpan(
257
                               text: '订单状态:',
267
                               text: '订单状态:',
258
                               style: TextStyle(
268
                               style: TextStyle(
259
-                                  color: Color(0xff666666),
269
+                                  color:Color(0xff666666),
260
                                   fontSize: 16,
270
                                   fontSize: 16,
261
                                   fontWeight: FontWeight.bold)),
271
                                   fontWeight: FontWeight.bold)),
262
                           TextSpan(
272
                           TextSpan(
263
-                              text: '待付款',
273
+                              text: orderStates().title,
264
                               style: TextStyle(
274
                               style: TextStyle(
265
-                                  color: Color(0xff51D4FF),
275
+                                  color:orderStates().styleColor,
266
                                   fontSize: 16,
276
                                   fontSize: 16,
267
                                   fontWeight: FontWeight.bold)),
277
                                   fontWeight: FontWeight.bold)),
268
                         ]),
278
                         ]),
315
     );
325
     );
316
   }
326
   }
317
 }
327
 }
328
+

+ 75
- 75
pubspec.lock Wyświetl plik

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