onSwipe property

Future<bool> Function(double dx, double dy, DismissDirection direction, Duration duration, Future<void> (), T item)? onSwipe
final

The on swipe function, run when a card is swiped

Implementation

final Future<bool> Function(double dx, double dy, DismissDirection direction, Duration duration, Future<void> Function(), T item)? onSwipe;