RouteBuilderWithChild typedef

RouteBuilderWithChild = Route Function(BuildContext context, RouteSettings settings, Widget child)

Typedef for a function that builds a Route based on the provided context

Implementation

typedef RouteBuilderWithChild = Route Function(
  BuildContext context,
  RouteSettings settings,
  Widget child,
);