RouteCreator<T> typedef

RouteCreator<T> = Route<T> Function(RouteSettings route, Map<String, List<String>> parameters)

A function that creates new routes.

Implementation

typedef Route<T> RouteCreator<T>(
  RouteSettings route,
  Map<String, List<String>> parameters,
);