pages property

List<Page> pages

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

Implementation

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