trackColor property

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

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

Defaults to CupertinoColors.secondarySystemFill when null.

See also:

Implementation

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