confirmDismiss property Null safety

ConfirmDismissCallback? confirmDismiss

Gives the app an opportunity to confirm or veto a pending dismissal.

If the returned Future completes true, then this widget will be dismissed, otherwise it will be moved back to its original location.

If the returned Future<bool?> completes to false or null the onResize and onDismissed callbacks will not run.


final ConfirmDismissCallback? confirmDismiss;