useOnAppLifecycleStateChange function
Listens to the AppLifecycleState.
Implementation
void useOnAppLifecycleStateChange(LifecycleCallback? onStateChanged) {
use(_AppLifecycleHook(onStateChanged: onStateChanged));
}
Listens to the AppLifecycleState.
void useOnAppLifecycleStateChange(LifecycleCallback? onStateChanged) {
use(_AppLifecycleHook(onStateChanged: onStateChanged));
}