onHover property
Called when a pointer enters or exits the widget's bounds.
The boolean parameter indicates whether the pointer is hovering (true) or not hovering (false) over the widget.
Implementation
final Function(bool)? onHover;
Called when a pointer enters or exits the widget's bounds.
The boolean parameter indicates whether the pointer is hovering (true) or not hovering (false) over the widget.
final Function(bool)? onHover;