Skip to content

Commit

Permalink
no color hover switch
Browse files Browse the repository at this point in the history
  • Loading branch information
Feichtmeier committed May 24, 2024
1 parent 9505fcb commit 0dcf1e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ Color _getSwitchTrackColor(Set<WidgetState> states, ColorScheme colorScheme) {
[WidgetState.disabled] ||
[WidgetState.disabled, WidgetState.selected] =>
colorScheme.onSurface.withOpacity(0.3),
[WidgetState.hovered] => Colors.transparent,
[] => colorScheme.surface,
_ => colorScheme.primaryContainer,
};
Expand Down

0 comments on commit 0dcf1e0

Please sign in to comment.