setControlsVisibility method

void setControlsVisibility(
  1. bool isVisible
)

Show or hide controls manually

Implementation

void setControlsVisibility(bool isVisible) {
  _controlsVisibilityStreamController.add(isVisible);
}