onSwipeToRemove property
final
A callback function called when an item is swiped for removal.
It occurs if at least one of the following two cases happens:
- Swiped in the remove direction, and the extent is greater than or equal to swipeToRemoveExtent.
- Swiped in the remove direction, and the velocity is greater than or equal to swipeToRemoveVelocity.
Implementation
final SwipeToRemoveCallback? onSwipeToRemove;