@@ -9,7 +9,7 @@ final ThemeData lightTheme = ThemeData.light(useMaterial3: true).copyWith(
99 scaffoldBackgroundColor: AppColors .backgroundLight,
1010 dialogBackgroundColor: AppColors .backgroundLight,
1111 focusColor: AppColors .accent,
12- splashColor: AppColors .accent.withOpacity ( 0.3 ),
12+ splashColor: AppColors .accent.withValues (alpha : 0.3 ),
1313 cardColor: AppColors .cardLight,
1414 shadowColor: Colors .black54,
1515 chipTheme: ChipThemeData (
@@ -93,12 +93,12 @@ final ThemeData lightTheme = ThemeData.light(useMaterial3: true).copyWith(
9393 ),
9494 textSelectionTheme: TextSelectionThemeData (
9595 cursorColor: AppColors .accent,
96- selectionColor: AppColors .accent.withOpacity ( 0.3 ),
96+ selectionColor: AppColors .accent.withValues (alpha : 0.3 ),
9797 selectionHandleColor: AppColors .accent,
9898 ),
9999 bottomSheetTheme: BottomSheetThemeData (
100- surfaceTintColor: Colors .black.withOpacity ( 0 ),
101- backgroundColor: Colors .black.withOpacity ( 0 ),
100+ surfaceTintColor: Colors .black.withValues (alpha : 0 ),
101+ backgroundColor: Colors .black.withValues (alpha : 0 ),
102102 ),
103103 switchTheme: SwitchThemeData (
104104 thumbColor: WidgetStateProperty .all (AppColors .backgroundLight),
@@ -180,7 +180,7 @@ final ThemeData darkTheme = ThemeData.dark(useMaterial3: true).copyWith(
180180 scaffoldBackgroundColor: AppColors .backgroundDark,
181181 dialogBackgroundColor: AppColors .backgroundDark,
182182 focusColor: AppColors .accent,
183- splashColor: AppColors .accent.withOpacity ( 0.3 ),
183+ splashColor: AppColors .accent.withValues (alpha : 0.3 ),
184184 cardColor: AppColors .cardDark,
185185 shadowColor: Colors .black54,
186186 chipTheme: ChipThemeData (
@@ -268,8 +268,8 @@ final ThemeData darkTheme = ThemeData.dark(useMaterial3: true).copyWith(
268268 selectionHandleColor: AppColors .accent,
269269 ),
270270 bottomSheetTheme: BottomSheetThemeData (
271- surfaceTintColor: Colors .black.withOpacity ( 0 ),
272- backgroundColor: Colors .black.withOpacity ( 0 ),
271+ surfaceTintColor: Colors .black.withValues (alpha : 0 ),
272+ backgroundColor: Colors .black.withValues (alpha : 0 ),
273273 ),
274274 switchTheme: SwitchThemeData (
275275 thumbColor: WidgetStateProperty .all (const Color (0x80FFFFFF )),
0 commit comments