|
|
@@ -109,7 +109,7 @@ class UserManagePage extends StatelessWidget {
|
|
|
],
|
|
|
),
|
|
|
Expanded(child: Padding(
|
|
|
- padding: EdgeInsets.all(18),
|
|
|
+ padding: const EdgeInsets.all(18),
|
|
|
child: Column(
|
|
|
children: [
|
|
|
eUserListTitle(context),
|
|
|
@@ -127,14 +127,14 @@ class UserManagePage extends StatelessWidget {
|
|
|
Widget eUserListTitle(BuildContext context){
|
|
|
return Row(
|
|
|
children: [
|
|
|
- SizedBox(width: _userIndexWidth, child: Text('序号', textAlign: TextAlign.center)),
|
|
|
- VerticalDivider(color: Colors.transparent),
|
|
|
- SizedBox(width: _userNameWidth, child: Text('用户名', textAlign: TextAlign.center)),
|
|
|
- VerticalDivider(color: Colors.transparent),
|
|
|
- Expanded(child: Text('开始时间')),
|
|
|
- VerticalDivider(color: Colors.transparent),
|
|
|
- SizedBox(width: _userIsNotShowWidth, child: Text('是否屏蔽', textAlign: TextAlign.center)),
|
|
|
- VerticalDivider(color: Colors.transparent),
|
|
|
+ const SizedBox(width: _userIndexWidth, child: Text('序号', textAlign: TextAlign.center)),
|
|
|
+ const VerticalDivider(color: Colors.transparent),
|
|
|
+ const SizedBox(width: _userNameWidth, child: Text('用户名', textAlign: TextAlign.center)),
|
|
|
+ const VerticalDivider(color: Colors.transparent),
|
|
|
+ const Expanded(child: Text('开始时间')),
|
|
|
+ const VerticalDivider(color: Colors.transparent),
|
|
|
+ const SizedBox(width: _userIsNotShowWidth, child: Text('是否屏蔽', textAlign: TextAlign.center)),
|
|
|
+ const VerticalDivider(color: Colors.transparent),
|
|
|
SizedBox(width: _userFlagWidth, child: Row(
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
|
|
children: Flag.values.map((e) => Icon(Icons.flag, color: e.color())).toList()
|