onUnknownRoute property

RouteFactory? get onUnknownRoute

Called when onGenerateRoute fails except for the initialRoute.

Implementation

static RouteFactory? get onUnknownRoute => _appState?.onUnknownRoute;
set onUnknownRoute (RouteFactory? v)

Implementation

static set onUnknownRoute(RouteFactory? v) {
  if (v != null) {
    _appState?.onUnknownRoute = v;
  }
}