reportTabPush method

void reportTabPush(
  1. RouteInformation? info, {
  2. int? currTab,
})

Since this nav

Implementation

void reportTabPush(RouteInformation? info, {int? currTab}) {
  if (info == null) {
    return;
  }
  var matchRoute = routes.matchAppRouteExt(info);

  var resolvedUri = matchRoute?.resolvedUri;
  if (resolvedUri == null) {
    state.pushAnonymousRoute(info.location ?? '/${uuid()}', currTab: currTab);
    return;
  }
  state.pushCurrentTabRoute(PendingRoute(matchRoute));
  _updateLocation();
}