activeColor property

  1. @Deprecated('Use activeTrackColor instead. ' 'This feature was deprecated after v3.24.0-0.2.pre.')
Color? get activeColor

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

@Deprecated(
  'Use activeTrackColor instead. '
  'This feature was deprecated after v3.24.0-0.2.pre.'
)
Color? get activeColor => activeTrackColor;