routeObserver top-level property

RouteObserver<PageRoute> routeObserver
read / write

A global variable that is used to observe the route changes.

Implementation

RouteObserver<PageRoute> routeObserver = RouteObserver();