activeColor property
- @Deprecated('Use activeTrackColor instead. ' 'This feature was deprecated after v3.24.0-0.2.pre.')
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
@Deprecated(
'Use activeTrackColor instead. '
'This feature was deprecated after v3.24.0-0.2.pre.'
)
Color? get activeColor => activeTrackColor;