activeColor property

Color? activeColor
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.

Implementation

final Color? activeColor;