hoverColor property Null safety
The color that should be used for the reaction when isHovered is true.
Used when the toggleable needs to change the reaction color/transparency, when it is being hovered over.
Implementation
Color get hoverColor => _hoverColor!;
Implementation
set hoverColor(Color value) {
if (value == _hoverColor) {
return;
}
_hoverColor = value;
notifyListeners();
}