removeRoute method

void removeRoute(
  1. Route route
)

Immediately remove route from the navigator, and Route.dispose it.

Implementation

void removeRoute(Route<dynamic> route) => appState!.removeRoute(route);