routeObserver top-level property
read / write
A global variable that is used to observe the route changes.
Implementation
RouteObserver<PageRoute> routeObserver = RouteObserver();
A global variable that is used to observe the route changes.
RouteObserver<PageRoute> routeObserver = RouteObserver();