toggle method

void toggle()

Implementation

void toggle() {
  isDraweropen = !isDraweropen;
  notifyListeners();
}