pop method

bool pop(
  1. BuildContext context
)

Implementation

bool pop(BuildContext context) {
  if (inline) {
    return false;
  }
  if (willPop == null) {
    Navigator.of(context).pop();
    return true;
  }
  if (willPop!()) {
    Navigator.of(context).pop();
    return true;
  }
  return false;
}