ZenRouteObserver constructor
Creates a ZenRouteObserver
onRouteChanged
- Optional callback that will be called whenever a route changes,
providing access to both the current and previous routes.
Implementation
ZenRouteObserver({this.onRouteChanged});