childRouterReportsNewRouteInformation method

  1. @override
void childRouterReportsNewRouteInformation(
  1. RouteInformation routeInformation
)
override

Implementation

@override
void childRouterReportsNewRouteInformation(
    RouteInformation routeInformation) {
  log.info("childDidPushRouteInformation: $routeInformation");
  if (routeInformation.location != null) {
    SystemNavigator.routeInformationUpdated(
        location: routeInformation.location!, state: routeInformation.state);
  }
}