@@ -7,7 +7,6 @@ final ThemeData lightTheme = ThemeData.light(useMaterial3: true).copyWith(
77 primaryColorDark: AppColors .black,
88 disabledColor: AppColors .disabled,
99 scaffoldBackgroundColor: AppColors .backgroundLight,
10- dialogBackgroundColor: AppColors .backgroundLight,
1110 focusColor: AppColors .accent,
1211 splashColor: AppColors .accent.withValues (alpha: 0.3 ),
1312 cardColor: AppColors .cardLight,
@@ -40,7 +39,7 @@ final ThemeData lightTheme = ThemeData.light(useMaterial3: true).copyWith(
4039 foregroundColor: AppColors .accent,
4140 titleTextStyle: TextStyle (fontSize: 20.0 , color: AppColors .black),
4241 ),
43- tabBarTheme: TabBarTheme (
42+ tabBarTheme: TabBarThemeData (
4443 dividerColor: Colors .transparent,
4544 labelStyle: TextStyle (
4645 fontSize: 16 ,
@@ -169,7 +168,7 @@ final ThemeData lightTheme = ThemeData.light(useMaterial3: true).copyWith(
169168 color: AppColors .black,
170169 fontWeight: FontWeight .normal,
171170 ),
172- ),
171+ ), dialogTheme : DialogThemeData (backgroundColor : AppColors .backgroundLight),
173172);
174173
175174final ThemeData darkTheme = ThemeData .dark (useMaterial3: true ).copyWith (
@@ -178,7 +177,6 @@ final ThemeData darkTheme = ThemeData.dark(useMaterial3: true).copyWith(
178177 primaryColorDark: AppColors .black,
179178 disabledColor: AppColors .disabled,
180179 scaffoldBackgroundColor: AppColors .backgroundDark,
181- dialogBackgroundColor: AppColors .backgroundDark,
182180 focusColor: AppColors .accent,
183181 splashColor: AppColors .accent.withValues (alpha: 0.3 ),
184182 cardColor: AppColors .cardDark,
@@ -211,7 +209,7 @@ final ThemeData darkTheme = ThemeData.dark(useMaterial3: true).copyWith(
211209 foregroundColor: AppColors .accent,
212210 titleTextStyle: TextStyle (fontSize: 20.0 , color: AppColors .white),
213211 ),
214- tabBarTheme: TabBarTheme (
212+ tabBarTheme: TabBarThemeData (
215213 dividerColor: Colors .transparent,
216214 labelStyle: TextStyle (
217215 fontSize: 16 ,
@@ -329,5 +327,5 @@ final ThemeData darkTheme = ThemeData.dark(useMaterial3: true).copyWith(
329327 color: AppColors .white,
330328 fontWeight: FontWeight .bold,
331329 ),
332- ),
330+ ), dialogTheme : DialogThemeData (backgroundColor : AppColors .backgroundDark),
333331);
0 commit comments