pausePanel method

void pausePanel()

Implementation

void pausePanel() {
  _internal = true;
  if (value.state == SlidingState.paused) return;
  value = value.copyWith(state: SlidingState.paused);
  _panelVisibility.value = false;
  _internal = false;
}