toggle method

void toggle()

Toggles pane visibility.

Implementation

void toggle() => setVisible(!_visible);