onDispose property

void Function()? onDispose
final

Callback called when the widget is disposed.

Implementation

final void Function()? onDispose;