isPointerOverThumbV method

  1. @protected
bool isPointerOverThumbV(
  1. Offset position,
  2. PointerDeviceKind kind
)

Returns true if the provided Offset is located over the thumb of the vertical Scrollbar.

Implementation

@protected
bool isPointerOverThumbV(Offset position, PointerDeviceKind kind) {
  Offset localPosition = position.toLocal(context);
  return verticalScrollbar.hitTestOnlyThumbInteractive(localPosition, kind);
}