handleThumbPressStartHorizontal method

  1. @override
void handleThumbPressStartHorizontal(
  1. Offset position
)
override

Handler called when a long press gesture has started on the horizontal scrollbar.

Begins the fade out animation and initializes dragging the scrollbar thumb.

Implementation

@override
void handleThumbPressStartHorizontal(Offset position) {
  super.handleThumbPressStartHorizontal(position);
  _dragIsActiveH = true;
  updateScrollbarPainter(false);
}