Skip to content

Commit 0dcf1e0

Browse files
committed
no color hover switch
1 parent 9505fcb commit 0dcf1e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/theme.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ Color _getSwitchTrackColor(Set<WidgetState> states, ColorScheme colorScheme) {
273273
[WidgetState.disabled] ||
274274
[WidgetState.disabled, WidgetState.selected] =>
275275
colorScheme.onSurface.withOpacity(0.3),
276+
[WidgetState.hovered] => Colors.transparent,
276277
[] => colorScheme.surface,
277278
_ => colorScheme.primaryContainer,
278279
};

0 commit comments

Comments
 (0)