paths property

List<NavigationPath> paths
final

List of NavigationPath for route matching. When a named route is pushed with Navigator.pushNamed, the route name is matched with the NavigationPath.matcher in the list below. As soon as there is a match, the associated builder will be returned. This means that the paths higher up in the list will take priority.

Implementation

final List<NavigationPath> paths;