thumbColor property Null safety

MaterialStateProperty<Color?>? thumbColor
final

The color of this Switch's thumb.

Resolved in the following states:

If specified, overrides the default value of Switch.thumbColor.

Implementation

final MaterialStateProperty<Color?>? thumbColor;