toggle method

  1. @override
void toggle()
override

Toggles the visibility of the popup

Implementation

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