toggleSidebar method

void toggleSidebar()

Implementation

void toggleSidebar() {
  state = !state;
  _saveSidebar(state);
}