activeTrackColor property
The color to use on the track when this switch is on.
Defaults to ThemeData.toggleableActiveColor
with the opacity set at 50%.
Ignored if this switch is created with Switch.adaptive.
Implementation
final Color? activeTrackColor;