RouteFutureBuilder constructor
RouteFutureBuilder({
- Key? key,
- Uri? url,
- String? routeId,
- required Future<
RouteBase?> fetchRoute(- BuildContext context, {
- String? path,
- String? routeId,
- required Widget buildContent(
- BuildContext context,
- ContentItem content
Implementation
RouteFutureBuilder({
super.key,
this.url,
this.routeId,
required this.fetchRoute,
required this.buildContent,
}) {
debugAssertOneOfPathOrRouteId(url?.toString(), routeId);
}