pop method
void
pop()
Pop the latest added Widget from the widget stack, enabling the user to navigate back.
Implementation
void pop() {
if (Navigator.of(context).canPop()) {
resetFocus();
Navigator.of(context).pop();
}
}