pop method

void pop()

Implementation

void pop() {
  if (_depth.isNotEmpty) {
    _depth.removeLast();
  } else {
    hide();
  }
  notifyListeners();
}