handleHoverV method

  1. @override
void handleHoverV(
  1. PointerHoverEvent event
)
override

Implementation

@override
void handleHoverV(PointerHoverEvent event) {
  super.handleHoverV(event);
  // Check if the position of the pointer falls over the painted scrollbar
  if (isPointerOverScrollbarV(event.position, event.kind)) {
    // Pointer is hovering over the scrollbar
    _hoverIsActiveV = true;
    _hoverAnimationControllerV.forward();
  } else if (_hoverIsActiveV) {
    // Pointer was, but is no longer over painted scrollbar.
    _hoverIsActiveV = false;
    _hoverAnimationControllerV.reverse();
  }
}