handleHoverV method

  1. @protected
  2. @mustCallSuper
void handleHoverV(
  1. PointerHoverEvent event
)

Implementation

@protected
@mustCallSuper
void handleHoverV(PointerHoverEvent event) {
  // Check if the position of the pointer falls over the painted scrollbar
  if (isPointerOverScrollbarV(event.position.toLocal(context), event.kind)) {
    _hoverIsActiveV = true;
    // Bring the scrollbar back into view if it has faded or started to fade
    // away.
    fadeoutAnimationControllerVertical.forward();
    _fadeoutTimerV?.cancel();
  } else if (_hoverIsActiveV) {
    // Pointer is not over painted scrollbar.
    _hoverIsActiveV = false;
    _maybeStartFadeoutTimer(horizontal: false);
  }
}