ConfirmDismissCallback typedef

Future<bool> ConfirmDismissCallback (DismissDirection direction)

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);