Add missing select case
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
This commit is contained in:
parent
d456bef510
commit
7d9e6b3b22
1 changed files with 1 additions and 0 deletions
|
@ -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!();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue