canPop method

bool canPop(
  1. BuildContext context
)
inherited

Utility method to check if Navigator can be popped

Implementation

bool canPop(BuildContext context) {
  return Navigator.of(context).canPop();
}