useAppLifecycleState function
Returns the current AppLifecycleState value and rebuilds the widget when it changes.
Implementation
AppLifecycleState? useAppLifecycleState() {
return use(const _AppLifecycleHook(rebuildOnChange: true));
}
Returns the current AppLifecycleState value and rebuilds the widget when it changes.
AppLifecycleState? useAppLifecycleState() {
return use(const _AppLifecycleHook(rebuildOnChange: true));
}