activeTrackColor property

Color? activeTrackColor
final

The color to use on the track when this switch is on.

Defaults to ColorScheme.secondary with the opacity set at 50%.

Ignored if this switch is created with Switch.adaptive.

Implementation

final Color? activeTrackColor;