RouteListFactory typedef Null safety
Creates a series of one or more routes.
Used by Navigator.onGenerateInitialRoutes.
Implementation
typedef RouteListFactory = List<Route<dynamic>> Function(NavigatorState navigator, String initialRoute);
Creates a series of one or more routes.
Used by Navigator.onGenerateInitialRoutes.
typedef RouteListFactory = List<Route<dynamic>> Function(NavigatorState navigator, String initialRoute);