unknownRouteGenerator static method

RouteFactory unknownRouteGenerator()

Implementation

static RouteFactory unknownRouteGenerator() {
  return (settings) {
    return MaterialPageRoute(
      settings: settings,
      builder: (BuildContext context) {
        return PageNotFound();
      },
    );
  };
}