ConfirmDismissCallback typedef Null safety
Signature used by Dismissible to give the application an opportunity to confirm or veto a dismiss gesture.
Used by Dismissible.confirmDismiss.
Implementation
typedef ConfirmDismissCallback = Future<bool?> Function(DismissDirection direction);