InitialRouteListFactory typedef Null safety

InitialRouteListFactory = List<Route> Function(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);