onHover method

bool onHover(
  1. Point<double> localPosition
)

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((GestureListener listener) =>
      listener.onHover?.call(localPosition) ?? false);
}