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.onSwiped.

Implementation

typedef SwipeDirectionCallback = void Function(SwipeDirection direction);