toggle method

  1. @override
void toggle()
override

Implementation

@override
void toggle() {
  showPopup = !showPopup;
}