onDeactivated function
void
onDeactivated(
- void hook()
Called when a cached component is deactivated
Implementation
void onDeactivated(void Function() hook) {
_registerHook(Lifecycle.deactivated, hook);
}