2d1ead53
吴启风
feat:背景音播放优化
|
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
body: Container(
color: Colors.white,
padding: EdgeInsets.symmetric(horizontal: 10.w),
child: SafeArea(
child: LayoutBuilder(builder: (context, constraints) {
return SingleChildScrollView(
child: ConstrainedBox(
constraints: BoxConstraints(
minHeight: constraints.maxHeight,
),
child: IntrinsicHeight(
child: Column(
children: [
20.verticalSpace,
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text(
'请输入您要反馈的问题和意见,10-500个字',
textAlign: TextAlign.left,
style: TextStyle(
fontSize: 19.sp, color: HexColor('#333333')),
),
Text(
'48/500',
textAlign: TextAlign.right,
style: TextStyle(
fontSize: 19.sp, color: HexColor('#333333')),
)
],
),
9.5.verticalSpace,
Expanded(
child: Container(
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage('bg_reback'.assetPng),
fit: BoxFit.fill)),
child: Padding(
padding: const EdgeInsets.symmetric(
vertical: 10, horizontal: 16),
// 设置对称内边距
child: TextField(
textInputAction: TextInputAction.done,
decoration: InputDecoration(
border: InputBorder.none,
hintStyle: TextStyle(
fontSize: 16.sp,
color: const Color(0xFF999999))),
),
),
),
),
4.5.verticalSpace,
Container(
decoration: BoxDecoration(
image: DecorationImage(
fit: BoxFit.fill,
image: AssetImage(_canEnsure
? 're_button'.assetPng
: 're_button_dis'.assetPng))),
alignment: Alignment.center,
width: 91.w,
height: 45.h,
child: Text(
'提交',
textAlign: TextAlign.center,
style:
TextStyle(color: Colors.white, fontSize: 17.sp),
),
|