onDispose property

VoidCallback? onDispose
final

Called when the widget is disposed (unmounted).

Implementation

final VoidCallback? onDispose;