confirmDismiss property Null safety

ConfirmDismissCallback? confirmDismiss
final

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.

Implementation

final ConfirmDismissCallback? confirmDismiss;