RouteListFactory typedef Null safety

RouteListFactory = List<Route> Function(NavigatorState navigator, String initialRoute)

Creates a series of one or more routes.

Used by Navigator.onGenerateInitialRoutes.

Implementation

typedef RouteListFactory = List<Route<dynamic>> Function(NavigatorState navigator, String initialRoute);