Dispose typedef Null safety

Dispose = void Function()

A function called when the state of a widget is destroyed.

Implementation

typedef Dispose = void Function();