toggleSidebar method
void
toggleSidebar()
Toggles the Sidebar of the MacosWindow.
This does not change the current width of the Sidebar. It only hides or shows it.
Implementation
void toggleSidebar() {
_sidebarToggler();
}