opt add ab id and delete file dialog ui
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
e01377e100
commit
923d76cf69
@ -346,6 +346,7 @@ class _AddressBookState extends State<AddressBook> {
|
|||||||
close();
|
close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
double marginBottom = 4;
|
||||||
return CustomAlertDialog(
|
return CustomAlertDialog(
|
||||||
title: Text(translate("Add ID")),
|
title: Text(translate("Add ID")),
|
||||||
content: Column(
|
content: Column(
|
||||||
@ -367,7 +368,7 @@ class _AddressBookState extends State<AddressBook> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
).marginOnly(bottom: marginBottom),
|
||||||
TextField(
|
TextField(
|
||||||
controller: idController,
|
controller: idController,
|
||||||
inputFormatters: [IDTextInputFormatter()],
|
inputFormatters: [IDTextInputFormatter()],
|
||||||
@ -379,7 +380,7 @@ class _AddressBookState extends State<AddressBook> {
|
|||||||
translate('Alias'),
|
translate('Alias'),
|
||||||
style: style,
|
style: style,
|
||||||
),
|
),
|
||||||
).marginOnly(top: 8, bottom: 2),
|
).marginOnly(top: 8, bottom: marginBottom),
|
||||||
TextField(
|
TextField(
|
||||||
controller: aliasController,
|
controller: aliasController,
|
||||||
),
|
),
|
||||||
@ -389,8 +390,9 @@ class _AddressBookState extends State<AddressBook> {
|
|||||||
translate('Tags'),
|
translate('Tags'),
|
||||||
style: style,
|
style: style,
|
||||||
),
|
),
|
||||||
).marginOnly(top: 8),
|
).marginOnly(top: 8, bottom: marginBottom),
|
||||||
Container(
|
Align(
|
||||||
|
alignment: Alignment.centerLeft,
|
||||||
child: Wrap(
|
child: Wrap(
|
||||||
children: tags
|
children: tags
|
||||||
.map((e) => AddressBookTag(
|
.map((e) => AddressBookTag(
|
||||||
|
@ -556,9 +556,11 @@ class FileController {
|
|||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
const Icon(Icons.warning_rounded, color: Colors.red),
|
const Icon(Icons.warning_rounded, color: Colors.red),
|
||||||
Text(title).paddingOnly(
|
Expanded(
|
||||||
|
child: Text(title).paddingOnly(
|
||||||
left: 10,
|
left: 10,
|
||||||
),
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
contentBoxConstraints:
|
contentBoxConstraints:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user