pages property Null safety

List<Page> pages

exposes the list pages that are built by the navigator (unmodifiable)

Implementation

List<Page> get pages => List.unmodifiable(_pages);