scroll_drag_detector library

Classes

ScrollDragDetector
A widget similar to GestureDetector that can smoothly transition between dragging and scrolling.

Enums

ScrollDragMode
Describes how movement in one physical direction is routed between a descendant scrollable and this detector.

Typedefs

ScrollDragEndCallback = void Function(DragEndDetails details, bool willScroll)
Works like GestureDragEndCallback but also tells whether the scrollable will start scrolling after the drag ended.
ScrollDragStartCallback = void Function(DragStartDetails details, bool didScroll)
Works like GestureDragStartCallback but also tells whether the scrollable did scroll before the drag started.
ScrollDragUpdateCallback = void Function(DragUpdateDetails details, bool wouldScroll)
Works like GestureDragUpdateCallback but also tells whether the drag would have been a scroll.