popView method

  1. @override
void popView([
  1. NavigationContext? navigationContext
])
override

Goes back one entry in the navigation history. If the current stack has only one view, this also pops the current stack. If only one stack and one view exist, it will throw an error.

Returns a Future that resolves as soon as the navigation completes.

Implementation

@override
void popView([NavigationContext? navigationContext]) {
  _history.last.popView(navigationContext);
}