buildPages method
Builds Page
s out of NavigationStack and Destinations.
Derived classes can override this method to alter the bulding behaviour.
Implementation
@protected
List<Page> buildPages(BuildContext context) => _current.allStacks
.map((s) => pageFactory.buildPage(context, s))
.toList(growable: false);