toggle method

void toggle()

Toggle the drawer's visibility.

Implementation

void toggle() {
  visible = !visible;
}