handleHoverH method

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

Implementation

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