VoidCallback typedef
VoidCallback =
void Function()
A zero-parameter function that returns nothing.
This is the same as Flutter's VoidCallback
. It's replicated in this
project to avoid depending on Flutter.
Implementation
typedef VoidCallback = void Function();