activeThumbColor property

Color? activeThumbColor
final

The color to use when this switch is on.

Defaults to ColorScheme.secondary.

If thumbColor returns a non-null color in the WidgetState.selected state, it will be used instead of this color.

Implementation

final Color? activeThumbColor;