onSwipeCancel property

void Function(Offset position, DragEndDetails details)? onSwipeCancel
final

Callback Hook triggered when the card stopped being dragged and doesn't meet the requirement to be swiped. @param details DragEndDetails

Implementation

final void Function(Offset position, DragEndDetails details)? onSwipeCancel;