|
@@ -1,12 +1,13 @@
|
1
|
1
|
import 'package:flutter/material.dart';
|
2
|
2
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
3
|
+import 'package:get/get.dart';
|
3
|
4
|
|
4
|
5
|
class OtherColumn extends StatelessWidget {
|
5
|
6
|
const OtherColumn({Key? key}) : super(key: key);
|
6
|
7
|
|
7
|
8
|
@override
|
8
|
9
|
Widget build(BuildContext context) {
|
9
|
|
- return Container(
|
|
10
|
+ return Container(
|
10
|
11
|
alignment: Alignment.center,
|
11
|
12
|
width: 345.w,
|
12
|
13
|
margin: EdgeInsets.fromLTRB(0, 15.w, 0, 15.w),
|
|
@@ -45,37 +46,39 @@ class OtherColumn extends StatelessWidget {
|
45
|
46
|
Container(
|
46
|
47
|
child: Column(
|
47
|
48
|
children: [
|
48
|
|
- Container(
|
49
|
|
- height: 45.w,
|
50
|
|
- width: 310.w,
|
51
|
|
- margin: EdgeInsets.fromLTRB(0, 10.w, 0, 0),
|
52
|
|
-
|
53
|
|
- decoration: const BoxDecoration(
|
54
|
|
- border:Border(
|
55
|
|
- bottom:
|
56
|
|
- BorderSide(width: 0.5, color: Color(0x20000000)
|
57
|
|
- // 0x17000000
|
58
|
|
- ))
|
59
|
|
- ),
|
60
|
|
-
|
61
|
|
- child: ListTile(
|
62
|
|
- contentPadding: EdgeInsets.symmetric(horizontal: 0.0),
|
63
|
|
- // 这边使用了contentPadding
|
64
|
|
- leading: Image(
|
65
|
|
- image: AssetImage('images/aboutUs.png'),
|
66
|
|
- width: 18.w,
|
67
|
|
- height: 21.w,
|
68
|
|
- ),
|
69
|
|
- title: Transform(
|
70
|
|
- transform: Matrix4.translationValues(-20, 0.0, 0.0),
|
71
|
|
- child: Text("版本更新",
|
72
|
|
- style: TextStyle(
|
73
|
|
- fontSize: 17.sp, color: Color(0xff333333))),
|
74
|
|
- ),
|
75
|
|
- trailing: Image(
|
76
|
|
- image: AssetImage('images/userRight.png'),
|
77
|
|
- width: 10.w,
|
78
|
|
- height: 18.w,
|
|
49
|
+ GestureDetector(
|
|
50
|
+ onTap: () {
|
|
51
|
+ Get.toNamed('/aboutUs');
|
|
52
|
+ },
|
|
53
|
+ child: Container(
|
|
54
|
+ height: 45.w,
|
|
55
|
+ width: 310.w,
|
|
56
|
+ margin: EdgeInsets.fromLTRB(0, 10.w, 0, 0),
|
|
57
|
+ decoration: const BoxDecoration(
|
|
58
|
+ border: Border(
|
|
59
|
+ bottom: BorderSide(
|
|
60
|
+ width: 0.5, color: Color(0x20000000)
|
|
61
|
+ // 0x17000000
|
|
62
|
+ ))),
|
|
63
|
+ child: ListTile(
|
|
64
|
+ contentPadding: EdgeInsets.symmetric(horizontal: 0.0),
|
|
65
|
+ // 这边使用了contentPadding
|
|
66
|
+ leading: Image(
|
|
67
|
+ image: AssetImage('images/aboutUs.png'),
|
|
68
|
+ width: 18.w,
|
|
69
|
+ height: 21.w,
|
|
70
|
+ ),
|
|
71
|
+ title: Transform(
|
|
72
|
+ transform: Matrix4.translationValues(-20, 0.0, 0.0),
|
|
73
|
+ child: Text("关于我们",
|
|
74
|
+ style: TextStyle(
|
|
75
|
+ fontSize: 17.sp, color: Color(0xff333333))),
|
|
76
|
+ ),
|
|
77
|
+ trailing: Image(
|
|
78
|
+ image: AssetImage('images/userRight.png'),
|
|
79
|
+ width: 10.w,
|
|
80
|
+ height: 18.w,
|
|
81
|
+ ),
|
79
|
82
|
),
|
80
|
83
|
),
|
81
|
84
|
),
|
|
@@ -84,16 +87,13 @@ class OtherColumn extends StatelessWidget {
|
84
|
87
|
width: 310.w,
|
85
|
88
|
height: 45.w,
|
86
|
89
|
decoration: const BoxDecoration(
|
87
|
|
- border:Border(
|
|
90
|
+ border: Border(
|
88
|
91
|
bottom:
|
89
|
|
- BorderSide(width: 0.5, color: Color(0x20000000)
|
90
|
|
- // 0x17000000
|
91
|
|
- ))
|
92
|
|
- ),
|
93
|
|
-
|
|
92
|
+ BorderSide(width: 0.5, color: Color(0x20000000)
|
|
93
|
+ // 0x17000000
|
|
94
|
+ ))),
|
94
|
95
|
child: ListTile(
|
95
|
96
|
contentPadding: EdgeInsets.symmetric(horizontal: 0.0),
|
96
|
|
-
|
97
|
97
|
leading: Image(
|
98
|
98
|
image: AssetImage('images/versionUpdate.png'),
|
99
|
99
|
width: 18.w,
|
|
@@ -117,16 +117,13 @@ class OtherColumn extends StatelessWidget {
|
117
|
117
|
width: 310.w,
|
118
|
118
|
height: 45.w,
|
119
|
119
|
decoration: const BoxDecoration(
|
120
|
|
- border:Border(
|
|
120
|
+ border: Border(
|
121
|
121
|
bottom:
|
122
|
|
- BorderSide(width: 0.5, color: Color(0x20000000)
|
123
|
|
- // 0x17000000
|
124
|
|
- ))
|
125
|
|
- ),
|
126
|
|
-
|
|
122
|
+ BorderSide(width: 0.5, color: Color(0x20000000)
|
|
123
|
+ // 0x17000000
|
|
124
|
+ ))),
|
127
|
125
|
child: ListTile(
|
128
|
126
|
contentPadding: EdgeInsets.symmetric(horizontal: 0.0),
|
129
|
|
-
|
130
|
127
|
leading: Image(
|
131
|
128
|
image: AssetImage('images/feedbacks.png'),
|
132
|
129
|
width: 18.w,
|
|
@@ -145,7 +142,6 @@ class OtherColumn extends StatelessWidget {
|
145
|
142
|
),
|
146
|
143
|
),
|
147
|
144
|
),
|
148
|
|
-
|
149
|
145
|
],
|
150
|
146
|
),
|
151
|
147
|
)
|