buildPages method

  1. @protected
List<Page> buildPages(
  1. BuildContext context
)

Builds Pages 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);