onBeforeUnmount function
Registers a callback to be called before the widget is unmounted.
Implementation
void onBeforeUnmount(VoidCallback callback) =>
_lifeContext.onBeforeUnmount(callback);
Registers a callback to be called before the widget is unmounted.
void onBeforeUnmount(VoidCallback callback) =>
_lifeContext.onBeforeUnmount(callback);