Skip to content

Commit 33f5647

Browse files
committed
chore: dart format
1 parent da94d0d commit 33f5647

1 file changed

Lines changed: 70 additions & 75 deletions

File tree

lib/widgets/eth_fee_form.dart

Lines changed: 70 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -173,37 +173,35 @@ class _EthFeeFormState extends ConsumerState<EthFeeForm> {
173173
onChanged: (value) {
174174
widget.stateChanged(_current);
175175
},
176-
style:
177-
Util.isDesktop
178-
? STextStyles.desktopTextExtraSmall(context).copyWith(
179-
color:
180-
Theme.of(
181-
context,
182-
).extension<StackColors>()!.textFieldActiveText,
183-
height: 1.8,
184-
)
185-
: STextStyles.field(context),
186-
decoration: standardInputDecoration(
187-
null,
188-
maxBaseFocus,
189-
context,
190-
desktopMed: Util.isDesktop,
191-
).copyWith(
192-
contentPadding: EdgeInsets.only(
193-
left: 16,
194-
top: Util.isDesktop ? 11 : 6,
195-
bottom: Util.isDesktop ? 12 : 8,
196-
right: 5,
197-
),
198-
),
176+
style: Util.isDesktop
177+
? STextStyles.desktopTextExtraSmall(context).copyWith(
178+
color: Theme.of(
179+
context,
180+
).extension<StackColors>()!.textFieldActiveText,
181+
height: 1.8,
182+
)
183+
: STextStyles.field(context),
184+
decoration:
185+
standardInputDecoration(
186+
null,
187+
maxBaseFocus,
188+
context,
189+
desktopMed: Util.isDesktop,
190+
).copyWith(
191+
contentPadding: EdgeInsets.only(
192+
left: 16,
193+
top: Util.isDesktop ? 11 : 6,
194+
bottom: Util.isDesktop ? 12 : 8,
195+
right: 5,
196+
),
197+
),
199198
),
200199
),
201200
const SizedBox(height: 6),
202201
AnimatedSwitcher(
203202
duration: _textFadeDuration,
204-
transitionBuilder:
205-
(child, animation) =>
206-
FadeTransition(opacity: animation, child: child),
203+
transitionBuilder: (child, animation) =>
204+
FadeTransition(opacity: animation, child: child),
207205
child: Text(
208206
_currentBase,
209207
key: ValueKey(
@@ -231,37 +229,35 @@ class _EthFeeFormState extends ConsumerState<EthFeeForm> {
231229
onChanged: (value) {
232230
widget.stateChanged(_current);
233231
},
234-
style:
235-
Util.isDesktop
236-
? STextStyles.desktopTextExtraSmall(context).copyWith(
237-
color:
238-
Theme.of(
239-
context,
240-
).extension<StackColors>()!.textFieldActiveText,
241-
height: 1.8,
242-
)
243-
: STextStyles.field(context),
244-
decoration: standardInputDecoration(
245-
null,
246-
priorityFeeFocus,
247-
context,
248-
desktopMed: Util.isDesktop,
249-
).copyWith(
250-
contentPadding: EdgeInsets.only(
251-
left: 16,
252-
top: Util.isDesktop ? 11 : 6,
253-
bottom: Util.isDesktop ? 12 : 8,
254-
right: 5,
255-
),
256-
),
232+
style: Util.isDesktop
233+
? STextStyles.desktopTextExtraSmall(context).copyWith(
234+
color: Theme.of(
235+
context,
236+
).extension<StackColors>()!.textFieldActiveText,
237+
height: 1.8,
238+
)
239+
: STextStyles.field(context),
240+
decoration:
241+
standardInputDecoration(
242+
null,
243+
priorityFeeFocus,
244+
context,
245+
desktopMed: Util.isDesktop,
246+
).copyWith(
247+
contentPadding: EdgeInsets.only(
248+
left: 16,
249+
top: Util.isDesktop ? 11 : 6,
250+
bottom: Util.isDesktop ? 12 : 8,
251+
right: 5,
252+
),
253+
),
257254
),
258255
),
259256
const SizedBox(height: 6),
260257
AnimatedSwitcher(
261258
duration: _textFadeDuration,
262-
transitionBuilder:
263-
(child, animation) =>
264-
FadeTransition(opacity: animation, child: child),
259+
transitionBuilder: (child, animation) =>
260+
FadeTransition(opacity: animation, child: child),
265261
child: Text(
266262
_currentPriority,
267263
key: ValueKey(
@@ -299,29 +295,28 @@ class _EthFeeFormState extends ConsumerState<EthFeeForm> {
299295

300296
widget.stateChanged(_current);
301297
},
302-
style:
303-
Util.isDesktop
304-
? STextStyles.desktopTextExtraSmall(context).copyWith(
305-
color:
306-
Theme.of(
307-
context,
308-
).extension<StackColors>()!.textFieldActiveText,
309-
height: 1.8,
310-
)
311-
: STextStyles.field(context),
312-
decoration: standardInputDecoration(
313-
null,
314-
gasLimitFocus,
315-
context,
316-
desktopMed: Util.isDesktop,
317-
).copyWith(
318-
contentPadding: EdgeInsets.only(
319-
left: 16,
320-
top: Util.isDesktop ? 11 : 6,
321-
bottom: Util.isDesktop ? 12 : 8,
322-
right: 5,
323-
),
324-
),
298+
style: Util.isDesktop
299+
? STextStyles.desktopTextExtraSmall(context).copyWith(
300+
color: Theme.of(
301+
context,
302+
).extension<StackColors>()!.textFieldActiveText,
303+
height: 1.8,
304+
)
305+
: STextStyles.field(context),
306+
decoration:
307+
standardInputDecoration(
308+
null,
309+
gasLimitFocus,
310+
context,
311+
desktopMed: Util.isDesktop,
312+
).copyWith(
313+
contentPadding: EdgeInsets.only(
314+
left: 16,
315+
top: Util.isDesktop ? 11 : 6,
316+
bottom: Util.isDesktop ? 12 : 8,
317+
right: 5,
318+
),
319+
),
325320
),
326321
),
327322
],

0 commit comments

Comments
 (0)