onUnknownRoute property

RouteFactory? onUnknownRoute
final

Function that will be called to resolve any route names that couldn't be resolved via _routes or _routeFactories. Unlike with routeFactories, the route returned by this function will not be cached.

Implementation

final RouteFactory? onUnknownRoute;