Commit e9d7e7c9 by York

历史登录账号弹窗增加关闭按钮

parent 79bc250a
......@@ -251,8 +251,27 @@ class EditTextState extends State<EditTextWidget>
builder: (BuildContext context) {
return AlertDialog(
titlePadding: const EdgeInsets.only(
left: 20, right: 20, top: 10),
title: const Text('历史登录账号、密码'),
left: 20,
right: 20,
top: 10,
bottom: 10),
title: Row(
mainAxisAlignment:
MainAxisAlignment.spaceBetween,
children: [
const Text('历史登录账号、密码'),
InkWell(
onTap: () {
Get.back();
},
child: const Icon(
Icons.clear,
size: 30,
color: Colors.grey,
),
)
],
),
actions: <Widget>[
ListView.separated(
scrollDirection: Axis.vertical,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment