onUnknownRoute property

RouteFactory? get onUnknownRoute

Called when onGenerateRoute fails except for the initialRoute.

Implementation

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

Implementation

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