Unify Input. Remove hardcoded style (address book)
This commit is contained in:
parent
f180c7d645
commit
011f41a0ad
@ -274,11 +274,7 @@ class _AddressBookState extends State<AddressBook> {
|
|||||||
TextField(
|
TextField(
|
||||||
controller: idController,
|
controller: idController,
|
||||||
inputFormatters: [IDTextInputFormatter()],
|
inputFormatters: [IDTextInputFormatter()],
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(errorText: errorMsg),
|
||||||
isDense: true,
|
|
||||||
border: OutlineInputBorder(),
|
|
||||||
errorText: errorMsg),
|
|
||||||
style: style,
|
|
||||||
),
|
),
|
||||||
Align(
|
Align(
|
||||||
alignment: Alignment.centerLeft,
|
alignment: Alignment.centerLeft,
|
||||||
@ -289,11 +285,6 @@ class _AddressBookState extends State<AddressBook> {
|
|||||||
).marginOnly(top: 8, bottom: 2),
|
).marginOnly(top: 8, bottom: 2),
|
||||||
TextField(
|
TextField(
|
||||||
controller: aliasController,
|
controller: aliasController,
|
||||||
decoration: InputDecoration(
|
|
||||||
border: OutlineInputBorder(),
|
|
||||||
isDense: true,
|
|
||||||
),
|
|
||||||
style: style,
|
|
||||||
),
|
),
|
||||||
Align(
|
Align(
|
||||||
alignment: Alignment.centerLeft,
|
alignment: Alignment.centerLeft,
|
||||||
@ -379,7 +370,6 @@ class _AddressBookState extends State<AddressBook> {
|
|||||||
child: TextField(
|
child: TextField(
|
||||||
maxLines: null,
|
maxLines: null,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
border: const OutlineInputBorder(),
|
|
||||||
errorText: msg.isEmpty ? null : translate(msg),
|
errorText: msg.isEmpty ? null : translate(msg),
|
||||||
),
|
),
|
||||||
controller: controller,
|
controller: controller,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user