pop method
Pop the top most route
Implementation
@override
void pop() {
if (navStack.length > 1) {
navStack.removeLast();
}
notifyListeners();
}
Pop the top most route
@override
void pop() {
if (navStack.length > 1) {
navStack.removeLast();
}
notifyListeners();
}