DismissCallback typedef Null safety

DismissCallback = void Function(double percentage)

Type definition for onDismiss. Will be used in a future version.

Implementation

typedef void DismissCallback(double percentage);