activeTrackColor property

Color? activeTrackColor
final

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

Defaults to ThemeData.toggleableActiveColor with the opacity set at 50%.

Ignored if created with SwitchListTile.adaptive.

Implementation

final Color? activeTrackColor;