overlayColor property

MaterialStateProperty<Color?>? overlayColor
final

The color for the switch's Material.

Resolves in the following states:

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

Implementation

final MaterialStateProperty<Color?>? overlayColor;