onGenerateRoute. The route generator callback used when the app is navigated to a named route . If this returns null when building the routes to handle the specified initialRoute, then all the routes are discarded and Navigator.
onGenerateRoute. The route generator callback used when the app is navigated to a named route . If this returns null when building the routes to handle the specified initialRoute, then all the routes are discarded and Navigator.