setSidebarRightVisibility method

void setSidebarRightVisibility(
  1. bool isVisible
)

Controls the visibility of the right sidebar.

@param isVisible The new visibility state of the right sidebar.

Implementation

void setSidebarRightVisibility(bool isVisible) {
  setState(() {
    _sidebarRightIsVisible = isVisible;
  });
}