|
@@ -1,155 +0,0 @@
|
1
|
|
-import 'package:flutter/material.dart';
|
2
|
|
-import 'package:flutter_screenutil/flutter_screenutil.dart';
|
3
|
|
-
|
4
|
|
-class OtherColumn extends StatelessWidget {
|
5
|
|
- const OtherColumn({Key? key}) : super(key: key);
|
6
|
|
-
|
7
|
|
- @override
|
8
|
|
- Widget build(BuildContext context) {
|
9
|
|
- return Container(
|
10
|
|
- alignment: Alignment.center,
|
11
|
|
- width: 345.w,
|
12
|
|
- margin: EdgeInsets.fromLTRB(0, 15.w, 0, 15.w),
|
13
|
|
- decoration: BoxDecoration(
|
14
|
|
- borderRadius: BorderRadius.circular(30),
|
15
|
|
- color: Colors.white,
|
16
|
|
- boxShadow: [
|
17
|
|
- BoxShadow(
|
18
|
|
- blurRadius: 10, //阴影范围
|
19
|
|
- spreadRadius: 0.1, //阴影浓度
|
20
|
|
- color: Colors.grey.withOpacity(0.2), //阴影颜色
|
21
|
|
- ),
|
22
|
|
- ],
|
23
|
|
- ),
|
24
|
|
- child: Column(
|
25
|
|
- children: [
|
26
|
|
- Container(
|
27
|
|
- margin: EdgeInsets.fromLTRB(0, 30.w, 0, 20.w),
|
28
|
|
- alignment: Alignment.topLeft,
|
29
|
|
- decoration: const BoxDecoration(
|
30
|
|
- border: Border(
|
31
|
|
- left: BorderSide(width: 5, color: Color(0xff000000)
|
32
|
|
- // 0x17000000
|
33
|
|
- ))),
|
34
|
|
- child: Padding(
|
35
|
|
- padding: EdgeInsets.fromLTRB(12.w, 0, 0, 0),
|
36
|
|
- child: Text(
|
37
|
|
- '地址信息',
|
38
|
|
- style: TextStyle(
|
39
|
|
- color: Color(0xff333333),
|
40
|
|
- fontWeight: FontWeight.bold,
|
41
|
|
- fontSize: 17.sp,
|
42
|
|
- ),
|
43
|
|
- ),
|
44
|
|
- )),
|
45
|
|
- Container(
|
46
|
|
- child: Column(
|
47
|
|
- 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,
|
79
|
|
- ),
|
80
|
|
- ),
|
81
|
|
- ),
|
82
|
|
- Container(
|
83
|
|
- margin: EdgeInsets.fromLTRB(0, 10.w, 0, 0),
|
84
|
|
- width: 310.w,
|
85
|
|
- height: 45.w,
|
86
|
|
- decoration: const BoxDecoration(
|
87
|
|
- border:Border(
|
88
|
|
- bottom:
|
89
|
|
- BorderSide(width: 0.5, color: Color(0x20000000)
|
90
|
|
- // 0x17000000
|
91
|
|
- ))
|
92
|
|
- ),
|
93
|
|
-
|
94
|
|
- child: ListTile(
|
95
|
|
- contentPadding: EdgeInsets.symmetric(horizontal: 0.0),
|
96
|
|
-
|
97
|
|
- leading: Image(
|
98
|
|
- image: AssetImage('images/versionUpdate.png'),
|
99
|
|
- width: 18.w,
|
100
|
|
- height: 21.w,
|
101
|
|
- ),
|
102
|
|
- title: Transform(
|
103
|
|
- transform: Matrix4.translationValues(-20, 0.0, 0.0),
|
104
|
|
- child: Text("用户协议及隐私政策",
|
105
|
|
- style: TextStyle(
|
106
|
|
- fontSize: 17.sp, color: Color(0xff333333))),
|
107
|
|
- ),
|
108
|
|
- trailing: Image(
|
109
|
|
- image: AssetImage('images/userRight.png'),
|
110
|
|
- width: 10.w,
|
111
|
|
- height: 18.w,
|
112
|
|
- ),
|
113
|
|
- ),
|
114
|
|
- ),
|
115
|
|
- Container(
|
116
|
|
- margin: EdgeInsets.fromLTRB(0, 10.w, 0, 20.w),
|
117
|
|
- width: 310.w,
|
118
|
|
- height: 45.w,
|
119
|
|
- decoration: const BoxDecoration(
|
120
|
|
- border:Border(
|
121
|
|
- bottom:
|
122
|
|
- BorderSide(width: 0.5, color: Color(0x20000000)
|
123
|
|
- // 0x17000000
|
124
|
|
- ))
|
125
|
|
- ),
|
126
|
|
-
|
127
|
|
- child: ListTile(
|
128
|
|
- contentPadding: EdgeInsets.symmetric(horizontal: 0.0),
|
129
|
|
-
|
130
|
|
- leading: Image(
|
131
|
|
- image: AssetImage('images/feedbacks.png'),
|
132
|
|
- width: 18.w,
|
133
|
|
- height: 21.w,
|
134
|
|
- ),
|
135
|
|
- title: Transform(
|
136
|
|
- transform: Matrix4.translationValues(-20, 0.0, 0.0),
|
137
|
|
- child: Text("意见反馈",
|
138
|
|
- style: TextStyle(
|
139
|
|
- fontSize: 17.sp, color: Color(0xff333333))),
|
140
|
|
- ),
|
141
|
|
- trailing: Image(
|
142
|
|
- image: AssetImage('images/userRight.png'),
|
143
|
|
- width: 10.w,
|
144
|
|
- height: 18.w,
|
145
|
|
- ),
|
146
|
|
- ),
|
147
|
|
- ),
|
148
|
|
-
|
149
|
|
- ],
|
150
|
|
- ),
|
151
|
|
- )
|
152
|
|
- ],
|
153
|
|
- ));
|
154
|
|
- }
|
155
|
|
-}
|