SwipeDirectionCallback typedef

SwipeDirectionCallback = void Function(SwipeDirection direction)

Signature used by Swipeable to indicate that it has been swiped in the given direction.

Used by Swipeable.onSwipe.

Implementation

typedef SwipeDirectionCallback = void Function(SwipeDirection direction);