VoidCallback typedef

VoidCallback = void Function()

Signature for the onClose callback. Same name Flutter uses.

Implementation

typedef VoidCallback = void Function();