isPointerOverTrackH method
Returns true if the provided Offset is located over the track of the horizontal Scrollbar.
Implementation
@protected
bool isPointerOverTrackH(Offset position, PointerDeviceKind kind) {
Offset localPosition = position.toLocal(context);
return horizontalScrollbar.hitTestInteractive(localPosition, kind) &&
!horizontalScrollbar.hitTestOnlyThumbInteractive(localPosition, kind);
}