canPop method

bool canPop(
  1. BuildContext context
)

Implementation

bool canPop(BuildContext context) {
  if (Navigator.maybeOf(context)?.canPop() ?? false) {
    return automaticallyImplyLeading;
  }
  return false;
}