We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed054bb commit 6eab61eCopy full SHA for 6eab61e
lib/widget/switch.dart
@@ -308,8 +308,8 @@ class TripleStateSwitch extends StatelessWidget {
308
? state == SwitchState.off
309
? startBackgroundColor ?? SwitchColors.backgroundColor
310
: state == SwitchState.mixed
311
- ? middleBackgroundColor ?? SwitchColors.backgroundColor
312
- : endBackgroundColor ?? SwitchColors.backgroundColor
+ ? middleBackgroundColor ?? Colors.grey
+ : endBackgroundColor ?? Theme.of(context).primaryColor
313
: SwitchColors.disableBackgroundColor,
314
borderRadius: borderRadius ??
315
BorderRadius.circular(
0 commit comments