canPop method

bool canPop()

Check if the navigator can pop.

Implementation

bool canPop() {
  return Navigator.of(this).canPop();
}