SwipeCompletionCallback typedef

SwipeCompletionCallback = void Function(int index, SwipeDirection direction)

Callback called when the Swipe is completed.

Implementation

typedef SwipeCompletionCallback = void Function(
  int index,
  SwipeDirection direction,
);