pop method
void
pop()
Removes the topmost element from the path, popping back one screen.
Implementation
void pop() {
if (_stack.isNotEmpty) {
_stack.removeLast();
notifyListeners();
}
}
Removes the topmost element from the path, popping back one screen.
void pop() {
if (_stack.isNotEmpty) {
_stack.removeLast();
notifyListeners();
}
}