InitialRouteListFactory typedef
The signature of WidgetsApp.onGenerateInitialRoutes.
Creates a series of one or more initial routes.
Implementation
typedef InitialRouteListFactory = List<Route<dynamic>> Function(String initialRoute);
The signature of WidgetsApp.onGenerateInitialRoutes.
Creates a series of one or more initial routes.
typedef InitialRouteListFactory = List<Route<dynamic>> Function(String initialRoute);