onUnknownRoute property

Route? Function(RouteSettings)? onUnknownRoute
final

A callback for handling unknown routes.

Implementation

final Route<dynamic>? Function(RouteSettings)? onUnknownRoute;