pageInstances property

List<StandardPageInterface<Object?, Object?>> get pageInstances

The current Page history.

Returns a flattened list of all Page instances, including both root pages and nested pages within nested navigators, collected recursively in order of addition.

Implementation

List<StandardPageInterface> get pageInstances {
  assert(routerDelegate is StandardRouterDelegate);
  final tDelegate = routerDelegate as StandardRouterDelegate;

  return tDelegate.pageInstances;
}