@@ -44,6 +44,7 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
44
44
return SpeedDial (
45
45
buttonSize: Size (60 , 60 ),
46
46
backgroundColor: ThemeProvider .theme.primaryColorDark,
47
+ foregroundColor: Colors .white,
47
48
icon: Icons .add,
48
49
activeIcon: Icons .close,
49
50
spacing: 3 ,
@@ -56,7 +57,7 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
56
57
children: [
57
58
SpeedDialChild (
58
59
child: Icon (FontAwesomeIcons .solidFile),
59
- backgroundColor: ThemeProvider .theme.textTheme.bodyText1 ? .color,
60
+ backgroundColor: ThemeProvider .theme.textTheme.bodyLarge ? .color,
60
61
foregroundColor: ThemeProvider .theme.primaryColorDark,
61
62
label: 'Torrent File' ,
62
63
labelBackgroundColor: Colors .transparent,
@@ -66,7 +67,7 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
66
67
)
67
68
],
68
69
labelStyle: TextStyle (
69
- color: ThemeProvider .theme.textTheme.bodyText1 ? .color,
70
+ color: ThemeProvider .theme.textTheme.bodyLarge ? .color,
70
71
fontSize: 14 ,
71
72
fontWeight: FontWeight .w800),
72
73
onTap: () async {
@@ -118,7 +119,7 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
118
119
fontWeight: FontWeight .bold,
119
120
fontFamily: 'Montserrat' ,
120
121
color: ThemeProvider
121
- .theme.textTheme.bodyText1 ? .color),
122
+ .theme.textTheme.bodyLarge ? .color),
122
123
),
123
124
),
124
125
Padding (
@@ -170,7 +171,7 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
170
171
color: ThemeProvider
171
172
.theme
172
173
.textTheme
173
- .bodyText1
174
+ .bodyLarge
174
175
? .color),
175
176
),
176
177
),
@@ -196,20 +197,20 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
196
197
controller: directoryController,
197
198
style: TextStyle (
198
199
color: ThemeProvider
199
- .theme.textTheme.bodyText1 ? .color,
200
+ .theme.textTheme.bodyLarge ? .color,
200
201
),
201
202
decoration: InputDecoration (
202
203
prefixIcon: Icon (
203
204
Icons .folder,
204
205
color: ThemeProvider .theme.textTheme
205
- .bodyText1 ? .color,
206
+ .bodyLarge ? .color,
206
207
),
207
208
labelText: 'Destination' ,
208
209
hintText: 'Destination' ,
209
210
labelStyle: TextStyle (
210
211
fontFamily: 'Montserrat' ,
211
212
color: ThemeProvider .theme
212
- .textTheme.bodyText1 ? .color),
213
+ .textTheme.bodyLarge ? .color),
213
214
border: OutlineInputBorder (
214
215
borderRadius:
215
216
BorderRadius .circular (8 ),
@@ -329,12 +330,12 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
329
330
},
330
331
style: ElevatedButton .styleFrom (
331
332
elevation: 0 ,
333
+ backgroundColor: ThemeProvider
334
+ .theme.primaryColorDark,
332
335
shape: RoundedRectangleBorder (
333
336
borderRadius:
334
337
BorderRadius .circular (14.0 ),
335
338
),
336
- primary: ThemeProvider
337
- .theme.primaryColorDark,
338
339
),
339
340
child: Center (
340
341
child: Text (
@@ -365,7 +366,7 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
365
366
),
366
367
SpeedDialChild (
367
368
child: const Icon (FontAwesomeIcons .magnet),
368
- backgroundColor: ThemeProvider .theme.textTheme.bodyText1 ? .color,
369
+ backgroundColor: ThemeProvider .theme.textTheme.bodyLarge ? .color,
369
370
foregroundColor: ThemeProvider .theme.primaryColorDark,
370
371
label: 'Magnet Link' ,
371
372
labelBackgroundColor: Colors .transparent,
@@ -375,7 +376,7 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
375
376
)
376
377
],
377
378
labelStyle: TextStyle (
378
- color: ThemeProvider .theme.textTheme.bodyText1 ? .color,
379
+ color: ThemeProvider .theme.textTheme.bodyLarge ? .color,
379
380
fontSize: 14 ,
380
381
fontWeight: FontWeight .w800),
381
382
onTap: () {
@@ -413,7 +414,7 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
413
414
fontWeight: FontWeight .bold,
414
415
fontFamily: 'Montserrat' ,
415
416
color: ThemeProvider
416
- .theme.textTheme.bodyText1 ? .color),
417
+ .theme.textTheme.bodyLarge ? .color),
417
418
),
418
419
),
419
420
Padding (
@@ -427,13 +428,13 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
427
428
controller: magnetUrlController,
428
429
style: TextStyle (
429
430
color: ThemeProvider
430
- .theme.textTheme.bodyText1 ? .color,
431
+ .theme.textTheme.bodyLarge ? .color,
431
432
),
432
433
decoration: InputDecoration (
433
434
prefixIcon: Icon (
434
435
Icons .link,
435
436
color: ThemeProvider
436
- .theme.textTheme.bodyText1 ? .color,
437
+ .theme.textTheme.bodyLarge ? .color,
437
438
),
438
439
suffix: GestureDetector (
439
440
child: Icon (Icons .paste),
@@ -453,7 +454,7 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
453
454
labelStyle: TextStyle (
454
455
fontFamily: 'Montserrat' ,
455
456
color: ThemeProvider
456
- .theme.textTheme.bodyText1 ? .color,
457
+ .theme.textTheme.bodyLarge ? .color,
457
458
),
458
459
border: OutlineInputBorder (
459
460
borderRadius:
@@ -487,20 +488,20 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
487
488
controller: directoryController,
488
489
style: TextStyle (
489
490
color: ThemeProvider
490
- .theme.textTheme.bodyText1 ? .color,
491
+ .theme.textTheme.bodyLarge ? .color,
491
492
),
492
493
decoration: InputDecoration (
493
494
prefixIcon: Icon (
494
495
Icons .folder,
495
496
color: ThemeProvider
496
- .theme.textTheme.bodyText1 ? .color,
497
+ .theme.textTheme.bodyLarge ? .color,
497
498
),
498
499
labelText: 'Destination' ,
499
500
hintText: 'Destination' ,
500
501
labelStyle: TextStyle (
501
502
fontFamily: 'Montserrat' ,
502
503
color: ThemeProvider .theme.textTheme
503
- .bodyText1 ? .color),
504
+ .bodyLarge ? .color),
504
505
border: OutlineInputBorder (
505
506
borderRadius:
506
507
BorderRadius .circular (8 ),
@@ -618,12 +619,12 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
618
619
},
619
620
style: ElevatedButton .styleFrom (
620
621
elevation: 0 ,
622
+ backgroundColor: ThemeProvider
623
+ .theme.primaryColorDark,
621
624
shape: RoundedRectangleBorder (
622
625
borderRadius:
623
626
BorderRadius .circular (14.0 ),
624
627
),
625
- primary: ThemeProvider
626
- .theme.primaryColorDark,
627
628
),
628
629
child: Center (
629
630
child: Text (
0 commit comments