onRouteNotRegistered property

OnRouteNotRegistered? onRouteNotRegistered
final

When the route is not registered, and this is not null, then it will be called, instead of try to open a route or native route Prefer to use context.maNav or NavigatorInstance instead of Navigator.of(context) If using Navigator.of(context), override onGenerateRoute

Implementation

final OnRouteNotRegistered? onRouteNotRegistered;