RouteCreator<T> typedef
RouteCreator<T> =
Route<T> Function(RouteSettings route, Map<String, List<String> > parameters, dynamic args)
A function that creates new routes.
Implementation
typedef RouteCreator<T> = Route<T> Function(
RouteSettings route, Map<String, List<String>> parameters, dynamic args);