Results for “WidgetsBindingObserver”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Version changes
- Added AppLifecycleState.hidden3.13.0breaking
enum is used to indicate which lifecycle state the application is in when `WidgetsBindingObserver.didChangeAppLifecycleState` is called. If code has switch statements that handle all cases of the `AppLifecycleState
- Deprecated RouteInformation.location3.13.0deprecated
final String myPath = myRoute.uri.path; ``` Code before migration: ```dart class MyObserverState extends State with WidgetsBindingObserver { @override Future didPushRoute(String route) => _handleRoute(route); } ``` Code after migration: ```dart class MyObserverState