handleAppLifecycleStateChanged method
- @override
override
Called when the application lifecycle state changes.
Notifies all the observers using WidgetsBindingObserver.didChangeAppLifecycleState.
This method exposes notifications from SystemChannels.lifecycle.
Implementation
@override
void handleAppLifecycleStateChanged(AppLifecycleState state) {
super.handleAppLifecycleStateChanged(state);
for (WidgetsBindingObserver observer in _observers)
observer.didChangeAppLifecycleState(state);
}