Is there an API to check if the app is minimized but haven\'t being killed yet so it\'s in background?
I googled it and also also search in GitHub issues, couldn\'t
You can add WidgetsBindingObserver mixin to one or more of your widgets and listen to AppLifecycleState.
WidgetsBindingObserver
AppLifecycleState
Here is documentation and example