trackColor property
- @Deprecated('Use inactiveTrackColor instead. ' 'This feature was deprecated after v3.24.0-0.2.pre.')
The color to use for the track when the switch is off.
Defaults to CupertinoColors.secondarySystemFill when null.
See also:
- inactiveTrackColor, the color to use for the track when the switch is off.
Implementation
@Deprecated(
'Use inactiveTrackColor instead. '
'This feature was deprecated after v3.24.0-0.2.pre.'
)
Color? get trackColor => inactiveTrackColor;