give you a read only access to the List of Page you have in your navigator
List<Page> get pages => UnmodifiableListView(_pages);