Fixed some visuals
This commit is contained in:
@ -7,10 +7,10 @@ class AppTheme {
|
||||
return ThemeModeDisplay(icon: Icons.auto_fix_high_outlined, displayName: "Systemvorgabe");
|
||||
|
||||
case ThemeMode.light:
|
||||
return ThemeModeDisplay(icon: Icons.dark_mode_outlined, displayName: "Hell");
|
||||
return ThemeModeDisplay(icon: Icons.wb_sunny_outlined, displayName: "Hell");
|
||||
|
||||
case ThemeMode.dark:
|
||||
return ThemeModeDisplay(icon: Icons.dark_mode, displayName: "Dunkel");
|
||||
return ThemeModeDisplay(icon: Icons.dark_mode_outlined, displayName: "Dunkel");
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -40,9 +40,8 @@ class DarkAppTheme {
|
||||
backgroundColor: MaterialStateProperty.all(Colors.white),
|
||||
)
|
||||
),
|
||||
// checkboxTheme: CheckboxThemeData(
|
||||
// fillColor: MaterialStateColor.resolveWith((states) {states.})
|
||||
// //fillColor: MaterialStateProperty.all(marianumRed),
|
||||
// ),
|
||||
checkboxTheme: CheckboxThemeData(
|
||||
fillColor: MaterialStateProperty.resolveWith((states) => states.contains(MaterialState.selected) ? marianumRed : Colors.transparent),
|
||||
),
|
||||
);
|
||||
}
|
@ -35,7 +35,7 @@ class LightAppTheme {
|
||||
color: marianumRed,
|
||||
),
|
||||
checkboxTheme: CheckboxThemeData(
|
||||
fillColor: MaterialStateProperty.resolveWith((states) => states.contains(MaterialState.selected) ? marianumRed : Colors.white),
|
||||
fillColor: MaterialStateProperty.resolveWith((states) => states.contains(MaterialState.selected) ? marianumRed : Colors.transparent),
|
||||
),
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user