RouteListFactory typedef

List<Route> RouteListFactory (
  1. NavigatorState navigator,
  2. 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);