DismissDirectionCallback typedef

void DismissDirectionCallback (
  1. DismissDirection direction
)

Signature used by Dismissible to indicate that it has been dismissed in the given direction.

Used by Dismissible.onDismissed.

Implementation

typedef DismissDirectionCallback = void Function(DismissDirection direction);