controls property

void controls=(bool visible)

show or hide the player controls

Implementation

set controls(bool visible) {
  _showControls.value = visible;
  _timer?.cancel();
  if (visible) {
    _hideTaskControls();
  }
}