RouteFutureBuilder constructor

RouteFutureBuilder({
  1. Key? key,
  2. Uri? url,
  3. String? routeId,
  4. required Future<RouteBase?> fetchRoute({
    1. String? path,
    2. String? routeId,
    }),
  5. required Widget buildContent(
    1. BuildContext context,
    2. ContentItem content
    ),
})

Implementation

RouteFutureBuilder({
  super.key,
  this.url,
  this.routeId,
  required this.fetchRoute,
  required this.buildContent,
}) {
  debugAssertOneOfPathOrRouteId(url?.toString(), routeId);
}