dispose property
void Function()?
dispose
final
An optional callback that runs during the dispose phase of the stateful widget.
Implementation
final void Function()? dispose;
An optional callback that runs during the dispose phase of the stateful widget.
final void Function()? dispose;