Callback function called when the widget is disposed.
final void Function(GetXState<T> state)? dispose;