onSwipe property
Future<bool> Function(double dx, double dy, Future<void> (), DismissDirection direction, Duration duration)?
onSwipe
final
Callback for when the card has been dismissed from the screen before forward animation
Implementation
final Future<bool> Function(double dx, double dy, Future<void> Function(), DismissDirection direction, Duration duration)? onSwipe;