removeRouteBelow method

void removeRouteBelow (
  1. Route anchorRoute
)

Immediately remove a route from the navigator, and Route.dispose it. The route to be removed is the one below the given anchorRoute.

Implementation

void removeRouteBelow(Route<dynamic> anchorRoute) {
  navigator.removeRouteBelow(anchorRoute);
}