onDispose property

(void Function()?) onDispose
final

Called when this object is removed from the tree permanently.

Implementation

final void Function()? onDispose;