StackedRouteFactory typedef Null safety

StackedRouteFactory = Route Function(RouteData data)

Implementation

typedef StackedRouteFactory = Route<dynamic> Function(RouteData data);