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