onDispose property
(void Function()?)
onDispose
final
Called when this object is removed from the tree permanently.
Implementation
final void Function()? onDispose;
Called when this object is removed from the tree permanently.
final void Function()? onDispose;