pop method
void
pop()
Pops the current route from the navigation stack.
If a valid context is provided, this method removes the current route from the stack.
Implementation
void pop() {
Navigator.pop(context);
}
Pops the current route from the navigation stack.
If a valid context is provided, this method removes the current route from the stack.
void pop() {
Navigator.pop(context);
}