Add missing select case

Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
This commit is contained in:
Neeraj Gupta 2023-09-26 21:41:55 +05:30
parent d456bef510
commit 7d9e6b3b22

View file

@ -21,6 +21,7 @@ class LifecycleEventHandler extends WidgetsBindingObserver {
case AppLifecycleState.inactive:
case AppLifecycleState.paused:
case AppLifecycleState.detached:
case AppLifecycleState.hidden:
if (suspendingCallBack != null) {
await suspendingCallBack!();
}