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 created with SwitchListTile.adaptive.

Implementation

final Color? activeTrackColor;