pop function

void pop(
  1. BuildContext context
)

To pop any screen use pop and pass the context as argument

Implementation

void pop(BuildContext context) => Navigator.pop(context);