inactiveTrackColor property

Color? inactiveTrackColor
final

The color to use on the track when this switch is off.

Defaults to the colors described in the Material design specification.

If trackColor returns a non-null color in the default state, it will be used instead of this color.

Implementation

final Color? inactiveTrackColor;