buildPages method

  1. @override
List<BeamPage> buildPages(
  1. BuildContext context,
  2. BeamState state
)
override

Creates and returns the list of pages to be built by the Navigator when this BeamLocation is beamed to or internally inferred.

context can be useful while building the pages. It will also contain anything injected via builder.

Implementation

@override
List<BeamPage> buildPages(BuildContext context, BeamState state) => [];