DismissDirectionCallback typedef Null safety

DismissDirectionCallback = void Function(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);