onUnknownRoute property

  1. @Deprecated('Should not be an exposed property')
RouteFactory? get onUnknownRoute

Called when onGenerateRoute fails except for the initialRoute.

Implementation

@Deprecated('Should not be an exposed property')
RouteFactory? get onUnknownRoute => appState?.onUnknownRoute;