thumbColor property

MaterialStateProperty<Color?>? thumbColor
final

The color of this switch's thumb.

Resolved in the following states:

If null, then the value of activeColor is used in the selected state and inactiveThumbColor in the default state. If that is also null, then the value of SwitchThemeData.thumbColor is used. If that is also null, The default value is used.

Implementation

final MaterialStateProperty<Color?>? thumbColor;