InitialRouteListFactory typedef

List<Route> InitialRouteListFactory (
  1. String initialRoute
)

The signature of WidgetsApp.onGenerateInitialRoutes.

Creates a series of one or more initial routes.

Implementation

typedef InitialRouteListFactory = List<Route<dynamic>> Function(String initialRoute);