hoverColor property Null safety

Color? hoverColor
final

The color to use for filling the button when the button has a pointer hovering over it.

If this property is null, then ToggleButtonTheme.of(context).hoverColor is used. If ToggleButtonsThemeData.hoverColor is also null, then Theme.of(context).hoverColor is used.

Implementation

final Color? hoverColor;