activeTrackColor property

Color? activeTrackColor
final

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

If null and applyTheme is false, defaults to CupertinoColors.systemGreen in accordance to native iOS behavior. Otherwise, defaults to CupertinoThemeData.primaryColor.

See also:

Implementation

final Color? activeTrackColor;