Editted the IconButton according to Figma

This commit is contained in:
RafiaChy 2022-01-21 20:09:25 +06:00
parent f2ec887b3a
commit 1f021b09e4
2 changed files with 28 additions and 5 deletions

View file

@ -126,8 +126,19 @@ class _WalletNameFormState extends State<WalletNameForm> {
TextPosition(offset: _controller.text.length));
});
},
icon: Image.asset(
'assets/images/refresh_icon.png',
icon: Container(
padding: const EdgeInsets.all(7),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(6.0),
color: Color.fromRGBO(91, 112, 146, 1),
),
width: 27.0,
height: 27.0,
child: Image.asset(
'assets/images/refresh_icon.png',
width: 14,
height: 13,
),
),
),
hintStyle: TextStyle(

View file

@ -73,9 +73,21 @@ class WalletRestoreFromSeedFormState extends State<WalletRestoreFromSeedForm> {
offset: nameTextEditingController.text.length));
});
},
icon: Image.asset(
'assets/images/refresh_icon.png',
),
icon:Container(
padding: const EdgeInsets.all(7)
,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(6.0),
color: Color.fromRGBO(91, 112, 146, 1),),
width: 27.0,
height: 27.0,
child: Image.asset(
'assets/images/refresh_icon.png',
width: 14,
height: 13,
),
),
),
),
Container(height: 20),