pop method

void pop(
  1. BuildContext context
)

Implementation

void pop(BuildContext context) {
  if (Navigator.of(context).canPop()) {
    Navigator.pop(context);
  }
}