[baozhangchao] 3 年之前
父節點
當前提交
ca4154f891

二進制
images/icons/carsListImga.png 查看文件


+ 0
- 89
lib/components/UI/DefaultButton.dart 查看文件

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 查看文件

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

+ 0
- 0
lib/pages/OrderConfirmation/widgets/timeDatePicker.dart 查看文件


+ 4
- 2
lib/pages/TabBar/index.dart 查看文件

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

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

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 查看文件

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 查看文件

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 查看文件

31
                   Padding(padding: EdgeInsets.fromLTRB(0, 0, 8, 0),
31
                   Padding(padding: EdgeInsets.fromLTRB(0, 0, 8, 0),
32
                   child:Image(image: AssetImage('images/ordersListImga.png'),fit: BoxFit.cover,width: 18.w,),
32
                   child:Image(image: AssetImage('images/ordersListImga.png'),fit: BoxFit.cover,width: 18.w,),
33
                   ),
33
                   ),
34
-
35
                   Text('订单列表',
34
                   Text('订单列表',
36
                     style: TextStyle(
35
                     style: TextStyle(
37
                       color: Color(0xff222222),
36
                       color: Color(0xff222222),

+ 1
- 0
lib/widgets/CarsCard.dart 查看文件

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

+ 42
- 36
lib/widgets/Search.dart 查看文件

1
 import 'package:flutter/material.dart';
1
 import 'package:flutter/material.dart';
2
 import 'package:flutter_screenutil/flutter_screenutil.dart';
2
 import 'package:flutter_screenutil/flutter_screenutil.dart';
3
 
3
 
4
+
4
 class Search extends StatefulWidget {
5
 class Search extends StatefulWidget {
5
   const Search({Key? key}) : super(key: key);
6
   const Search({Key? key}) : super(key: key);
6
 
7
 
12
 
13
 
13
   @override
14
   @override
14
   Widget build(BuildContext context) {
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 查看文件

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