overlayColor property Null safety
final
The color for the switch's Material.
Resolves in the following states:
If null, then the value of activeColor with alpha kRadialReactionAlpha, focusColor and hoverColor is used in the pressed, focused and hovered state. If that is also null, the value of SwitchThemeData.overlayColor is used. If that is also null, then the value of ThemeData.toggleableActiveColor with alpha kRadialReactionAlpha, ThemeData.focusColor and ThemeData.hoverColor is used in the pressed, focused and hovered state.
Implementation
final MaterialStateProperty<Color?>? overlayColor;