onWillDismiss property
Called before the widget is dismissed. If the call returns false, the item will not be dismissed.
If null, the widget will always be dismissed.
Implementation
final SlideActionWillBeDismissed? onWillDismiss;
Called before the widget is dismissed. If the call returns false, the item will not be dismissed.
If null, the widget will always be dismissed.
final SlideActionWillBeDismissed? onWillDismiss;