onHover method
Implementation
bool onHover(Point<double> localPosition) {
// Cancel any previously active long lived gestures.
_activeListeners = <GestureListener>[];
// Walk through listeners stopping at the first handled listener.
return _listeners.any(
(listener) => listener.onHover?.call(localPosition) ?? false,
);
}