popScreen function

void popScreen({
  1. required BuildContext context,
  2. dynamic pass,
})

Alias for Navigator.of(context).pop()

Implementation

void popScreen({
  required BuildContext context,
  dynamic pass,
}) {
  return Navigator.of(context).pop(pass);
}