thumbColor property
final
The color to use for the thumb when the switch is on.
If this color is not opaque, it is blended against CupertinoThemeData.scaffoldBackgroundColor, so as not to see through the thumb to the track underneath.
Defaults to CupertinoColors.white when null.
See also:
- inactiveThumbColor, the color to use for the thumb when the switch is off.
Implementation
final Color? thumbColor;