@@ -30,22 +30,22 @@ class _NavDrawerState extends State<NavDrawer> {
30
30
child: ListView (
31
31
padding: EdgeInsets .zero,
32
32
children: [
33
- ListTile (
34
- tileColor: AppSettings .isDarkMode ? Colors .black : Colors .white,
35
- textColor: AppSettings .isDarkMode ? Colors .white : Colors .black,
36
- contentPadding: const EdgeInsets .only (top: 40 , left: 10 ),
37
- title: Row (
38
- mainAxisAlignment: MainAxisAlignment .spaceBetween,
39
- children: [
33
+ ListTile (
34
+ tileColor: AppSettings .isDarkMode ? Colors .black : Colors .white,
35
+ textColor: AppSettings .isDarkMode ? Colors .white : Colors .black,
36
+ contentPadding: const EdgeInsets .only (top: 40 , left: 10 ),
37
+ title: Row (
38
+ mainAxisAlignment: MainAxisAlignment .spaceBetween,
39
+ children: [
40
40
Text (
41
41
'Menu' ,
42
42
style: TextStyle (
43
- fontSize: 25 ,
44
- fontWeight: FontWeight .bold,
43
+ fontSize: 25 ,
44
+ fontWeight: FontWeight .bold,
45
45
),
46
46
),
47
47
Padding (
48
- padding: EdgeInsets .only (right: 10 ), // Adjust the right padding as needed
48
+ padding: EdgeInsets .only (right: 10 ),
49
49
child: ThemeSwitcherClipper (
50
50
isDarkMode: AppSettings .isDarkMode,
51
51
onTap: (bool newMode) async {
@@ -63,13 +63,13 @@ class _NavDrawerState extends State<NavDrawer> {
63
63
),
64
64
],
65
65
),
66
- onTap: () async {
67
- AppSettings .isDarkMode = ! AppSettings .isDarkMode;
68
- setState (() {});
69
- await SelectedTheme .saveMode (AppSettings .isDarkMode);
70
- widget.notifyParent ();
71
- },
72
- ),
66
+ onTap: () async {
67
+ AppSettings .isDarkMode = ! AppSettings .isDarkMode;
68
+ setState (() {});
69
+ await SelectedTheme .saveMode (AppSettings .isDarkMode);
70
+ widget.notifyParent ();
71
+ },
72
+ ),
73
73
ListTile (
74
74
tileColor: AppSettings .isDarkMode ? Colors .black : Colors .white,
75
75
textColor: AppSettings .isDarkMode ? Colors .white : Colors .black,
0 commit comments