Editted the IconButton according to Figma
RafiaChy committed
Jan 21, 2022 at 20:09 UTC
1f021b09e48d5f8916964fe6e64de0566138a5f4
2 files changed
+28
-5
lib/src/screens/new_wallet/new_wallet_page.dart
+13
-2
@@ -126,8 +126,19 @@ class _WalletNameFormState extends State<WalletNameForm> {
126
TextPosition(offset: _controller.text.length));
127
});
128
},
129
- icon: Image.asset(
130
- 'assets/images/refresh_icon.png',
129
+ icon: Container(
130
+ padding: const EdgeInsets.all(7),
131
+ decoration: BoxDecoration(
132
+ borderRadius: BorderRadius.circular(6.0),
133
+ color: Color.fromRGBO(91, 112, 146, 1),
134
+ ),
135
+ width: 27.0,
136
+ height: 27.0,
137
+ child: Image.asset(
138
+ 'assets/images/refresh_icon.png',
139
+ width: 14,
140
+ height: 13,
141
+ ),
142
),
143
),
144
hintStyle: TextStyle(
lib/src/screens/restore/wallet_restore_from_seed_form.dart
+15
-3
@@ -73,9 +73,21 @@ class WalletRestoreFromSeedFormState extends State<WalletRestoreFromSeedForm> {
73
offset: nameTextEditingController.text.length));
74
});
75
},
76
- icon: Image.asset(
77
- 'assets/images/refresh_icon.png',
78
- ),
76
+ icon:Container(
77
+ padding: const EdgeInsets.all(7)
78
+ ,
79
+ decoration: BoxDecoration(
80
+ borderRadius: BorderRadius.circular(6.0),
81
+ color: Color.fromRGBO(91, 112, 146, 1),),
82
+ width: 27.0,
83
+ height: 27.0,
84
+
85
+ child: Image.asset(
86
+ 'assets/images/refresh_icon.png',
87
+ width: 14,
88
+ height: 13,
89
+ ),
90
+ ),
91
),
92
),
93
Container(height: 20),