@@ -44,9 +44,7 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
4444 child: Column (
4545 children: [
4646 Padding (
47- padding: const EdgeInsets .only (
48- right: 30 ,
49- ),
47+ padding: const EdgeInsets .only (right: 30 ),
5048 child: RoundedWhiteContainer (
5149 radiusMultiplier: 2 ,
5250 child: Column (
@@ -86,9 +84,7 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
8684 ),
8785 const Padding (
8886 padding: EdgeInsets .all (10.0 ),
89- child: Divider (
90- thickness: 0.5 ,
91- ),
87+ child: Divider (thickness: 0.5 ),
9288 ),
9389 Padding (
9490 padding: const EdgeInsets .all (10 ),
@@ -99,10 +95,10 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
9995 "Toggle testnet coins" ,
10096 style: STextStyles .desktopTextExtraSmall (context)
10197 .copyWith (
102- color: Theme .of (context)
103- . extension < StackColors > () !
104- .textDark,
105- ),
98+ color: Theme .of (
99+ context,
100+ ). extension < StackColors > () ! .textDark,
101+ ),
106102 textAlign: TextAlign .left,
107103 ),
108104 SizedBox (
@@ -116,8 +112,9 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
116112 ),
117113 onValueChanged: (newValue) {
118114 ref
119- .read (prefsChangeNotifierProvider)
120- .showTestNetCoins = newValue;
115+ .read (prefsChangeNotifierProvider)
116+ .showTestNetCoins =
117+ newValue;
121118 },
122119 ),
123120 ),
@@ -126,9 +123,7 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
126123 ),
127124 const Padding (
128125 padding: EdgeInsets .all (10.0 ),
129- child: Divider (
130- thickness: 0.5 ,
131- ),
126+ child: Divider (thickness: 0.5 ),
132127 ),
133128 Padding (
134129 padding: const EdgeInsets .all (10 ),
@@ -139,10 +134,10 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
139134 "Enable coin control" ,
140135 style: STextStyles .desktopTextExtraSmall (context)
141136 .copyWith (
142- color: Theme .of (context)
143- . extension < StackColors > () !
144- .textDark,
145- ),
137+ color: Theme .of (
138+ context,
139+ ). extension < StackColors > () ! .textDark,
140+ ),
146141 textAlign: TextAlign .left,
147142 ),
148143 SizedBox (
@@ -156,8 +151,9 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
156151 ),
157152 onValueChanged: (newValue) {
158153 ref
159- .read (prefsChangeNotifierProvider)
160- .enableCoinControl = newValue;
154+ .read (prefsChangeNotifierProvider)
155+ .enableCoinControl =
156+ newValue;
161157 },
162158 ),
163159 ),
@@ -168,9 +164,7 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
168164 if (Constants .enableExchange)
169165 const Padding (
170166 padding: EdgeInsets .all (10.0 ),
171- child: Divider (
172- thickness: 0.5 ,
173- ),
167+ child: Divider (thickness: 0.5 ),
174168 ),
175169 if (Constants .enableExchange)
176170 Padding (
@@ -181,12 +175,13 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
181175 Text (
182176 "Enable exchange features" ,
183177 style:
184- STextStyles .desktopTextExtraSmall (context)
185- .copyWith (
186- color: Theme .of (context)
187- .extension < StackColors > ()!
188- .textDark,
189- ),
178+ STextStyles .desktopTextExtraSmall (
179+ context,
180+ ).copyWith (
181+ color: Theme .of (
182+ context,
183+ ).extension < StackColors > ()! .textDark,
184+ ),
190185 textAlign: TextAlign .left,
191186 ),
192187 SizedBox (
@@ -200,8 +195,9 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
200195 ),
201196 onValueChanged: (newValue) {
202197 ref
203- .read (prefsChangeNotifierProvider)
204- .enableExchange = newValue;
198+ .read (prefsChangeNotifierProvider)
199+ .enableExchange =
200+ newValue;
205201 },
206202 ),
207203 ),
@@ -210,17 +206,16 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
210206 ),
211207 const Padding (
212208 padding: EdgeInsets .all (10.0 ),
213- child: Divider (
214- thickness: 0.5 ,
215- ),
209+ child: Divider (thickness: 0.5 ),
216210 ),
217211
218212 /// TODO: Make a dialog popup
219213 Consumer (
220214 builder: (_, ref, __) {
221215 final externalCalls = ref.watch (
222- prefsChangeNotifierProvider
223- .select ((value) => value.externalCalls),
216+ prefsChangeNotifierProvider.select (
217+ (value) => value.externalCalls,
218+ ),
224219 );
225220 return Padding (
226221 padding: const EdgeInsets .all (10 ),
@@ -232,23 +227,24 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
232227 children: [
233228 Text (
234229 "${AppConfig .prefix } Experience" ,
235- style: STextStyles .desktopTextExtraSmall (
236- context,
237- ).copyWith (
238- color: Theme .of (context)
239- .extension < StackColors > ()!
240- .textDark,
241- ),
230+ style:
231+ STextStyles .desktopTextExtraSmall (
232+ context,
233+ ).copyWith (
234+ color: Theme .of (context)
235+ .extension < StackColors > ()!
236+ .textDark,
237+ ),
242238 textAlign: TextAlign .left,
243239 ),
244240 Text (
245241 externalCalls
246242 ? "Easy crypto"
247243 : "Incognito" ,
248- style: STextStyles
249- .desktopTextExtraExtraSmall (
250- context,
251- ),
244+ style:
245+ STextStyles .desktopTextExtraExtraSmall (
246+ context,
247+ ),
252248 ),
253249 ],
254250 ),
@@ -276,9 +272,7 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
276272 ),
277273 const Padding (
278274 padding: EdgeInsets .all (10.0 ),
279- child: Divider (
280- thickness: 0.5 ,
281- ),
275+ child: Divider (thickness: 0.5 ),
282276 ),
283277 Padding (
284278 padding: const EdgeInsets .all (10 ),
@@ -289,10 +283,10 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
289283 "Block explorers" ,
290284 style: STextStyles .desktopTextExtraSmall (context)
291285 .copyWith (
292- color: Theme .of (context)
293- . extension < StackColors > () !
294- .textDark,
295- ),
286+ color: Theme .of (
287+ context,
288+ ). extension < StackColors > () ! .textDark,
289+ ),
296290 textAlign: TextAlign .left,
297291 ),
298292 PrimaryButton (
@@ -315,9 +309,7 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
315309 ),
316310 const Padding (
317311 padding: EdgeInsets .all (10.0 ),
318- child: Divider (
319- thickness: 0.5 ,
320- ),
312+ child: Divider (thickness: 0.5 ),
321313 ),
322314 Padding (
323315 padding: const EdgeInsets .all (10 ),
@@ -328,10 +320,10 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
328320 "Units" ,
329321 style: STextStyles .desktopTextExtraSmall (context)
330322 .copyWith (
331- color: Theme .of (context)
332- . extension < StackColors > () !
333- .textDark,
334- ),
323+ color: Theme .of (
324+ context,
325+ ). extension < StackColors > () ! .textDark,
326+ ),
335327 textAlign: TextAlign .left,
336328 ),
337329 PrimaryButton (
@@ -354,9 +346,7 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
354346 ),
355347 const Padding (
356348 padding: EdgeInsets .all (10.0 ),
357- child: Divider (
358- thickness: 0.5 ,
359- ),
349+ child: Divider (thickness: 0.5 ),
360350 ),
361351 Padding (
362352 padding: const EdgeInsets .all (10 ),
@@ -367,10 +357,10 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
367357 "Logging" ,
368358 style: STextStyles .desktopTextExtraSmall (context)
369359 .copyWith (
370- color: Theme .of (context)
371- . extension < StackColors > () !
372- .textDark,
373- ),
360+ color: Theme .of (
361+ context,
362+ ). extension < StackColors > () ! .textDark,
363+ ),
374364 textAlign: TextAlign .left,
375365 ),
376366 PrimaryButton (
@@ -394,9 +384,7 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
394384 if (StackFileSystem .canTogglePortableMode)
395385 const Padding (
396386 padding: EdgeInsets .all (10.0 ),
397- child: Divider (
398- thickness: 0.5 ,
399- ),
387+ child: Divider (thickness: 0.5 ),
400388 ),
401389 if (StackFileSystem .canTogglePortableMode)
402390 Padding (
@@ -411,12 +399,13 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
411399 Text (
412400 "Portable mode" ,
413401 style:
414- STextStyles .desktopTextExtraSmall (context)
415- .copyWith (
416- color: Theme .of (context)
417- .extension < StackColors > ()!
418- .textDark,
419- ),
402+ STextStyles .desktopTextExtraSmall (
403+ context,
404+ ).copyWith (
405+ color: Theme .of (
406+ context,
407+ ).extension < StackColors > ()! .textDark,
408+ ),
420409 textAlign: TextAlign .left,
421410 ),
422411 Text (
@@ -429,9 +418,7 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
429418 ],
430419 ),
431420 ),
432- const SizedBox (
433- width: 10 ,
434- ),
421+ const SizedBox (width: 10 ),
435422 SizedBox (
436423 height: 20 ,
437424 width: 40 ,
@@ -444,17 +431,16 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
444431 onValueChanged: (newValue) {
445432 StackFileSystem .setPortableMarker (newValue);
446433 ref
447- .read (prefsChangeNotifierProvider)
448- .enablePortableMode = newValue;
434+ .read (prefsChangeNotifierProvider)
435+ .enablePortableMode =
436+ newValue;
449437 },
450438 ),
451439 ),
452440 ],
453441 ),
454442 ),
455- const SizedBox (
456- height: 10 ,
457- ),
443+ const SizedBox (height: 10 ),
458444 ],
459445 ),
460446 ),
0 commit comments