activeTrackColor property
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:
- inactiveTrackColor, the color to use for the track when the switch is off.
Implementation
final Color? activeTrackColor;