overlayColor property

MaterialStateProperty<Color?>? overlayColor
final

The color for the checkbox'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 CheckboxThemeData.overlayColor is used. If that is also null, then the value of ColorScheme.secondary with alpha kRadialReactionAlpha, ThemeData.focusColor and ThemeData.hoverColor is used in the pressed, focused and hovered state.

Implementation

final MaterialStateProperty<Color?>? overlayColor;