didPushRouteInformation method
Called when the host tells the application to push a new route onto the navigator.
On web, this is called when the user changes the url manually, or clicks the back or forward buttons
Implementation
@override
Future<bool> didPushRouteInformation(RouteInformation routeInformation) {
log.info(
"platform:didPushRouteInformation: ${routeInformation.location} state: ${routeInformation.state}");
return handleNewRoute(routeInformation.location);
}