back method

void back(
  1. BuildContext context, {
  2. bool success = false,
})

Implementation

void back(BuildContext context, {bool success = false}) {
  if (isEmpty(success)) {
    Navigator.pop(context);
  } else {
    Navigator.pop(context, success);
  }
}