onDispose property
void Function(T)?
onDispose
final
Runs when the state is disposed.
Implementation
final void Function(T)? onDispose;
Runs when the state is disposed.
final void Function(T)? onDispose;