SwipeCompletionCallback<D extends SwipeableStackIdentifiable> typedef

SwipeCompletionCallback<D extends SwipeableStackIdentifiable> = void Function(D data, SwipeDirection direction)

A callback to show as a card with a data.

Implementation

typedef SwipeCompletionCallback<D extends SwipeableStackIdentifiable> = void
    Function(
  D data,
  SwipeDirection direction,
);