fetchRoute property

Future<RouteBase?> Function(BuildContext context, {String? path, String? routeId}) fetchRoute
final

The callback function to fetch the content. This function will be called with the current context, and should return a future that resolves with the content.

Implementation

final Future<RouteBase?> Function(BuildContext context,
    {String? path, String? routeId}) fetchRoute;