pages property

List<Page> get pages

give you a read only access to the List of Page you have in your navigator

Implementation

List<Page> get pages => UnmodifiableListView(_pages);