Fix checkbox theme

This commit is contained in:
Ming Ming 2024-05-18 21:48:45 +08:00
parent 64e13bdee5
commit 71652c7e9a

View file

@ -190,7 +190,7 @@ ThemeData _applyColorScheme(ColorScheme colorScheme) {
if (states.contains(MaterialState.selected)) { if (states.contains(MaterialState.selected)) {
return colorScheme.secondary; return colorScheme.secondary;
} else { } else {
return Colors.transparent; return colorScheme.onSurfaceVariant;
} }
} }
}), }),