itemForPathSegments abstract method

Future<T?> itemForPathSegments(
  1. List<String> pathSegments
)

Returns navigation item for given pathSegments. You should return null if given pathSegments cannot be parsed to a meaningful item. This method could be invoked by itemsForRouteInformation multiple times with an increasing number of segments.

Implementation

Future<T?> itemForPathSegments(List<String> pathSegments);