pop function
To pop any screen use pop and pass the context
as argument
Implementation
void pop(BuildContext context) => Navigator.pop(context);
To pop any screen use pop and pass the context
as argument
void pop(BuildContext context) => Navigator.pop(context);