didChangeAppLifecycleState method
- @override
- @mustCallSuper
- AppLifecycleState lifecycleState
inherited
Called when the system puts the app in the background or returns the app to the foreground.
Implementation
@override
@mustCallSuper
void didChangeAppLifecycleState(AppLifecycleState lifecycleState) {
super.didChangeAppLifecycleState(lifecycleState);
//
forEachState((state) {
state.didChangeAppLifecycleState(lifecycleState);
}, reversed: true, remove: this);
}