[baozhangchao] 3 gadus atpakaļ
vecāks
revīzija
ca4154f891

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


+ 0
- 89
lib/components/UI/DefaultButton.dart Parādīt failu

@@ -1,89 +0,0 @@
1
-import 'package:flutter/material.dart';
2
-
3
-
4
-
5
-class DefaultButton extends StatefulWidget {
6
-  //点击回调
7
-  final GestureTapCallback onPressed;
8
-  final String text;
9
-  final EdgeInsetsGeometry margin;
10
-  final double width;
11
-  final double height;
12
-  final double? fontSize;
13
-  final Color backColor;
14
-  final Color color;
15
-
16
-  EdgeInsetsGeometry marginDefault =
17
-  const EdgeInsets.fromLTRB(0, 90.0, 0, 30); //按钮默认的margin值
18
-
19
-  DefaultButton({
20
-    Key? key,
21
-    required this.onPressed,
22
-    required this.text,
23
-    required this.margin,
24
-    required this.width,
25
-    required this.height,
26
-    this.fontSize,
27
-    required this.backColor,
28
-    required this.color,
29
-  }) : super(key: key);
30
-
31
-  @override
32
-  State createState() {
33
-    if (margin == null) {
34
-      return _DefaultButtonState(onPressed, text, marginDefault,width,height,fontSize,backColor,color);
35
-    }
36
-    return _DefaultButtonState(onPressed, text, margin,width,height,fontSize,backColor,color);
37
-  }
38
-}
39
-
40
-class _DefaultButtonState extends State<DefaultButton> {
41
-  //点击回调
42
-  final GestureTapCallback onPressed;
43
-  final String text;
44
-  final EdgeInsetsGeometry margin;
45
-  final double width;
46
-  final double height;
47
-  final double? fontSize;
48
-  final Color backColor;
49
-  final Color color;
50
-  _DefaultButtonState(
51
-      this.onPressed,
52
-      this.text,
53
-      this.margin,
54
-      this.width,
55
-      this.height,
56
-      this.fontSize,
57
-      this.backColor,
58
-      this.color
59
-      );
60
-
61
-  @override
62
-  Widget build(BuildContext context) {
63
-    Widget _SectionBtn = Container(
64
-      margin: margin,
65
-      child: SizedBox(
66
-        width: width,
67
-        height: height,
68
-        child: RaisedButton(
69
-          color: backColor,
70
-          disabledColor: const Color(0xF5F6F7ff),
71
-          disabledTextColor: const Color(0xF5F6F7ff),
72
-          colorBrightness: Brightness.dark,
73
-          shape:
74
-          RoundedRectangleBorder(borderRadius: BorderRadius.circular(5.0)),
75
-          child: Text(text,style:  TextStyle(
76
-              fontSize: fontSize,
77
-              color: color,
78
-          ),),
79
-          textColor: Colors.white,
80
-          onPressed: onPressed,
81
-        ),
82
-      ),
83
-    );
84
-
85
-    return _SectionBtn;
86
-  }
87
-
88
-}
89
-

+ 0
- 1
lib/pages/OrderConfirmation/index.dart Parādīt failu

@@ -1,4 +1,3 @@
1
-import 'package:farmer_client/pages/OrderConfirmation/widgets/timeDatePicker.dart';
2 1
 import 'package:flutter/cupertino.dart';
3 2
 import 'package:flutter/material.dart';
4 3
 import 'package:flutter/services.dart';

+ 0
- 0
lib/pages/OrderConfirmation/widgets/timeDatePicker.dart Parādīt failu


+ 4
- 2
lib/pages/TabBar/index.dart Parādīt failu

@@ -5,7 +5,8 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
5 5
 import '../TabBar/widgets/Information/index.dart';
6 6
 import '../TabBar/widgets/main/index.dart';
7 7
 import '../TabBar/widgets/order/index.dart';
8
-// import 'package:farmer_client/pages/TabBar/widgets/orderInfo/index.dart';
8
+import '../TabBar/widgets/home/index.dart';
9
+
9 10
 class Home extends StatefulWidget {
10 11
   const Home({Key? key}) : super(key: key);
11 12
 
@@ -67,7 +68,7 @@ class _Home extends State<Home> {
67 68
   }
68 69
 
69 70
   //内容
70
-  var _body = [Text('我是首页'), OrderPage(),Information(), MainPage()];
71
+  var _body = [HomePage(), OrderPage(),Information(), MainPage()];
71 72
 
72 73
   Widget tabBar(index) {
73 74
     return GestureDetector(
@@ -96,6 +97,7 @@ class _Home extends State<Home> {
96 97
   @override
97 98
   Widget build(BuildContext context) {
98 99
     return Scaffold(
100
+      backgroundColor: Colors.white,
99 101
       appBar: AppBar(
100 102
         elevation: 0,
101 103
         centerTitle: true,

+ 73
- 0
lib/pages/TabBar/widgets/home/index.dart Parādīt failu

@@ -0,0 +1,73 @@
1
+import 'package:farmer_client/pages/TabBar/widgets/home/widgets/headers.dart';
2
+import 'package:flutter/material.dart';
3
+import 'package:flutter_screenutil/flutter_screenutil.dart';
4
+
5
+import '../../../../widgets/CarsCard.dart';
6
+import '../../../../widgets/Search.dart';
7
+
8
+
9
+class HomePage extends StatefulWidget {
10
+  const HomePage({Key? key}) : super(key: key);
11
+
12
+  @override
13
+  State<HomePage> createState() => _HomePageState();
14
+}
15
+
16
+class _HomePageState extends State<HomePage> {
17
+  @override
18
+  Widget build(BuildContext context) {
19
+    return Container(
20
+      alignment: Alignment.center,
21
+      padding: EdgeInsets.fromLTRB(15.w, 0, 15.w, 0),
22
+      child: ListView(
23
+        children: [
24
+          headers(),
25
+          Container(
26
+            margin: EdgeInsets.fromLTRB(0, 20, 0, 20),
27
+            child: Column(
28
+              children: [
29
+                Row(
30
+                  mainAxisAlignment: MainAxisAlignment.spaceBetween,
31
+                  children: [
32
+                    Container(
33
+                      child: Row(
34
+                        children: [
35
+                          Padding(padding: EdgeInsets.fromLTRB(0, 0, 8, 0),
36
+                            child:Image(image: AssetImage('images/icons/carsListImga.png'),fit: BoxFit.cover,width: 20.w,),
37
+                          ),
38
+                          Text('农机列表',
39
+                            style: TextStyle(
40
+                                color: Color(0xff222222),
41
+                                fontSize: 20.sp,
42
+                                fontWeight: FontWeight.bold
43
+                            ),
44
+                          )
45
+                        ],
46
+                      ),
47
+                    ),
48
+                    Container(
49
+                      child:GestureDetector(
50
+                        child:  Text('更多 >>'),
51
+                        onTap: (){
52
+                          print('点我进入农机搜索/更多页');
53
+                        },
54
+                      ),
55
+                    )
56
+
57
+                  ],
58
+                ),
59
+                CarsCard(),
60
+                CarsCard(),
61
+                CarsCard(),
62
+              ],
63
+            )
64
+
65
+          ),
66
+
67
+        ],
68
+      ),
69
+
70
+
71
+    );
72
+  }
73
+}

+ 13
- 0
lib/pages/TabBar/widgets/home/widgets/ListContent.dart Parādīt failu

@@ -0,0 +1,13 @@
1
+import 'package:flutter/material.dart';
2
+
3
+
4
+class ListContent extends StatelessWidget {
5
+  const ListContent({Key? key}) : super(key: key);
6
+
7
+  @override
8
+  Widget build(BuildContext context) {
9
+    return Container(
10
+      child: Text('test'),
11
+    );
12
+  }
13
+}

+ 73
- 0
lib/pages/TabBar/widgets/home/widgets/headers.dart Parādīt failu

@@ -0,0 +1,73 @@
1
+import 'package:flutter/material.dart';
2
+import 'package:flutter_screenutil/flutter_screenutil.dart';
3
+
4
+
5
+class headers extends StatelessWidget {
6
+  const headers({Key? key}) : super(key: key);
7
+
8
+  @override
9
+  Widget build(BuildContext context) {
10
+    return Container(
11
+      child:           Row(
12
+        children: [
13
+          Container(
14
+            height: 32.w,
15
+            decoration: BoxDecoration(
16
+                color: Colors.white
17
+            ),
18
+            child: Row(
19
+              children: [
20
+                Image(
21
+                  image: AssetImage('images/gpsImgae.png'),
22
+                  fit: BoxFit.cover,
23
+                  width: 14.w,
24
+                  height: 17.h,
25
+                ),
26
+                Padding(padding: EdgeInsets.fromLTRB(5, 0, 0, 0),
27
+                  child: Text('邓州市',
28
+                    style: TextStyle(
29
+                      color: Color(0xff202020),
30
+                      fontSize: 16.sp,
31
+                      fontWeight: FontWeight.bold,
32
+                    ),
33
+                  ),
34
+                ),
35
+                const Icon(Icons.arrow_drop_down)
36
+              ],
37
+
38
+            ),
39
+          ),
40
+          Container(
41
+              padding: EdgeInsets.fromLTRB(15.w, 0, 0, 0),
42
+              width: 260.w,
43
+              height: 32.w,
44
+              decoration: BoxDecoration(
45
+                  color: Colors.white
46
+              ),
47
+              child: GestureDetector(
48
+                  onTap: (){
49
+                    print('点击了搜索');
50
+                  },
51
+                  child: Container(
52
+                    decoration: BoxDecoration(
53
+                      // color: Colors.red,
54
+                      color: Color(0x30cccccc),
55
+                      borderRadius: BorderRadius.all(Radius.circular(25)),
56
+                    ),
57
+                    child: Row(
58
+                      children: [
59
+                        Padding(padding: EdgeInsets.fromLTRB(15, 0, 5, 0),
60
+                          child: Icon(Icons.search,size: 19,color:Color(0xff666666) ,),
61
+                        ),
62
+                        Text('请输入关键字查询',style: TextStyle(color: Color(0xff666666),fontSize: 14),)
63
+                      ],
64
+                    ),
65
+                  )
66
+                // Search(),
67
+              )
68
+          )
69
+        ],
70
+      ),
71
+    );
72
+  }
73
+}

+ 0
- 1
lib/pages/TabBar/widgets/order/index.dart Parādīt failu

@@ -31,7 +31,6 @@ class _OrderPageState extends State<OrderPage> {
31 31
                   Padding(padding: EdgeInsets.fromLTRB(0, 0, 8, 0),
32 32
                   child:Image(image: AssetImage('images/ordersListImga.png'),fit: BoxFit.cover,width: 18.w,),
33 33
                   ),
34
-
35 34
                   Text('订单列表',
36 35
                     style: TextStyle(
37 36
                       color: Color(0xff222222),

+ 1
- 0
lib/widgets/CarsCard.dart Parādīt failu

@@ -24,6 +24,7 @@ class CarsCard extends StatelessWidget {
24 24
   @override
25 25
   Widget build(BuildContext context) {
26 26
     return Container(
27
+      margin: EdgeInsets.fromLTRB(0, 20, 0, 20),
27 28
       decoration: BoxDecoration(
28 29
         color: Color(0xfff2f2f2),
29 30
       ),

+ 42
- 36
lib/widgets/Search.dart Parādīt failu

@@ -1,6 +1,7 @@
1 1
 import 'package:flutter/material.dart';
2 2
 import 'package:flutter_screenutil/flutter_screenutil.dart';
3 3
 
4
+
4 5
 class Search extends StatefulWidget {
5 6
   const Search({Key? key}) : super(key: key);
6 7
 
@@ -12,45 +13,50 @@ class _SearchState extends State<Search> {
12 13
 
13 14
   @override
14 15
   Widget build(BuildContext context) {
15
-    return Column(
16
-      children: [
17
-        Container(
18
-          height: 46,
19
-          alignment: Alignment.center,
20
-          child:  TextField(
21
-            onChanged: (value) {
22
-              print('打一个字我搜索一下$value');
23
-            },
24
-            onEditingComplete: () {
25
-              FocusScope.of(context).requestFocus(FocusNode());
26
-              print('点击键盘搜索');
27
-            },
28
-            style: const TextStyle(fontSize: 15, color: Colors.black, textBaseline: TextBaseline.alphabetic),
29
-            decoration: const InputDecoration(
30
-              isDense: true,
31
-              prefixIcon: Padding(
32
-                padding: EdgeInsets.only(left: 0),
33
-                child:  Icon(Icons.search,),
34
-              ),
35
-              fillColor: Color(0x30cccccc),
36
-              filled: true,
37
-              enabledBorder: OutlineInputBorder(
38
-                  borderSide: BorderSide(color: Color(0x00FF0000)),
39
-                  borderRadius: BorderRadius.all(Radius.circular(100))),
40
-              hintText: '请输入关键字查询',
41
-              hintStyle: TextStyle(
42
-                  textBaseline: TextBaseline.alphabetic, //用于提示文字对齐
43
-            ),
44
-              focusedBorder: OutlineInputBorder(
45
-                  borderSide: BorderSide(color: Color(0x00000000)),
46
-                  borderRadius: BorderRadius.all(Radius.circular(100))),
16
+    return LayoutBuilder(builder: (BuildContext context, BoxConstraints constraints){
17
+      return  Column(
18
+        children: [
19
+          Container(
20
+            decoration: BoxDecoration(
21
+              color: Colors.white
47 22
             ),
23
+      width: constraints.maxWidth,
24
+      height: 34,
25
+      alignment: Alignment.center,
26
+      child:  TextField(
27
+              onChanged: (value) {
28
+                print('打一个字我搜索一下$value');
29
+              },
30
+              onEditingComplete: () {
31
+                FocusScope.of(context).requestFocus(FocusNode());
32
+                print('点击键盘搜索');
33
+              },
34
+              style: const TextStyle(fontSize: 15, color: Colors.black, textBaseline: TextBaseline.alphabetic),
35
+              decoration: const InputDecoration(
36
+                isDense: true,
37
+                prefixIcon: Padding(
38
+                  padding: EdgeInsets.only(left: 0),
39
+                  child:  Icon(Icons.search,),
40
+                ),
41
+                fillColor: Color(0x30cccccc),
42
+                filled: true,
43
+                border: OutlineInputBorder(borderSide: BorderSide.none),
44
+      contentPadding: EdgeInsets.all(0),
45
+                enabledBorder: OutlineInputBorder(
46
+                    borderSide: BorderSide(color: Color(0x00FF0000)),
47
+                    borderRadius: BorderRadius.all(Radius.circular(100))),
48
+                hintText: '请输入关键字查询',
49
+                hintStyle: TextStyle(
50
+                  textBaseline: TextBaseline.alphabetic, //用于提示文字对齐
51
+                ),
48 52
 
49
-          ),
50
-        ),
51
-      ],
52
-    );
53
+              ),
53 54
 
55
+            ),
56
+          ),
57
+        ],
58
+      );
59
+    });
54 60
 
55 61
   }
56 62
 }

+ 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.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_map:
19 19
     dependency: "direct main"
20 20
     description:
21 21
       name: amap_flutter_map
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
   analyzer:
26 26
     dependency: transitive
27 27
     description:
28 28
       name: analyzer
29
-      url: "https://pub.flutter-io.cn"
29
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
36
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
43
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
50
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
57
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
64
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
71
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
78
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
85
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
92
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
99
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
106
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
113
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
120
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
127
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
134
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
141
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
148
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
155
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
167
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
179
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
186
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
203
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
210
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
217
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
224
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
231
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
238
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
245
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
252
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
259
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
266
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
273
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
280
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
287
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
294
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
301
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
308
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
315
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
322
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
329
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
336
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
343
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
350
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
357
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
364
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
371
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
378
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
385
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
392
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
399
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
406
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
413
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
425
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
432
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
439
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
446
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
453
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
460
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
467
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
474
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
481
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
488
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
495
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
502
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
509
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
516
+      url: "https://pub.dartlang.org"
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.flutter-io.cn"
523
+      url: "https://pub.dartlang.org"
524 524
     source: hosted
525 525
     version: "3.1.0"
526 526
 sdks: