canPop property

bool canPop

Whether or not this implicit navigator or any implicit navigators below it can pop.

Implementation

bool get canPop {
  return navigatorTree
      .expand((navigators) => navigators)
      .any((navigator) => navigator.shallowCanPop);
}