setRouteStack method

void setRouteStack(
  1. List<PageSettings> stack(
    1. List<PageSettings> pages
    ), {
  2. String? subRouteName,
})

Set the route stack. It exposes the current PageSettings stack.

Implementation

void setRouteStack(
  List<PageSettings> Function(List<PageSettings> pages) stack, {
  String? subRouteName,
}) {
  return _navigationBuilder.setRouteStack(stack, subRouteName: subRouteName);
}