StateRouteObserver constructor

StateRouteObserver()

A instance with one lone state observer.

Implementation

StateRouteObserver() {
  // Only need to instantiate once.
  routeObserver = RouteObserver<PageRoute<dynamic>>();
}