onGenerateRoute property Null safety
The route generator callback used when the app is navigated to a named route.
During normal app operation, the onGenerateRoute callback will only be applied to route names pushed by the application, and so should never return null.
This is used if routes does not contain the requested route.
final RouteFactory? onGenerateRoute;