toggleMenu method

void toggleMenu()

Toggles the visibility of the popup menu.

Implementation

void toggleMenu() {
  menuIsShowing = !menuIsShowing;
  notifyListeners();
}