forceShow method

void forceShow({
  1. bool show = true,
})

强制显示 show 是否显示

Implementation

void forceShow({bool show = true}) {
  if (show) {
    stopTimer();
    showControls(autohide: false);
  } else {
    startTimer();
  }
}