breadcrumbs property

List<RouteMatch> breadcrumbs

The track to the very first ancestor match

This can be used to render visual breadcrumbs in UI

Implementation

List<RouteMatch> get breadcrumbs => List.unmodifiable([
      if (_parent != null) ..._parent!.breadcrumbs,
      _match,
    ]);