onHoverCancel method
void
onHoverCancel()
Called when a hover is interrupted because a pointer button was pressed while the component was hovered.
Flutter does not emit PointerHoverEvents while a button is held, so the
hover state ends as soon as the press starts. Override this to react to
that transition (e.g. clear a hover-driven highlight). After a cancel,
onHoverEnter will fire again only when a fresh button-free hover
re-enters the area.
Implementation
void onHoverCancel() {}