1. flutter 提供了 WidgetsBindingObserver 给开发者来监听 AppLifecycleState