pop method

bool pop(
  1. BuildContext context, [
  2. R? result
])

Implementation

bool pop(BuildContext context, [R? result]) {
  if (Navigator.of(context).canPop()) {
    Navigator.of(context).pop(result);
    return true;
  }
  return false;
}