inactiveThumbColor property

Color? inactiveThumbColor
final

The color to use on the thumb when the switch is off.

If this color is not opaque, it is blended against CupertinoThemeData.scaffoldBackgroundColor, so as not to see through the thumb to the track underneath.

If null, defaults to thumbColor. If that is also null, CupertinoColors.white is used.

See also:

  • thumbColor, the color to use for the thumb when the switch is on.

Implementation

final Color? inactiveThumbColor;