ScrollDragUpdateCallback typedef

ScrollDragUpdateCallback = void Function(DragUpdateDetails details, bool wouldScroll)

Works like GestureDragUpdateCallback but also tells whether the drag would have been a scroll.

Implementation

typedef ScrollDragUpdateCallback = void Function(
  DragUpdateDetails details,
  bool wouldScroll,
);