showControls method
显示控制条
autohide 是否自动隐藏
Implementation
void showControls({bool autohide = true}) {
if (!qyplayerController.isReady) {
return;
}
stopTimer();
visible = true;
setState(() {});
widget.onControlsToggle != null &&
widget.onControlsToggle!({"shown": true});
animationController.forward();
if (autohide) {
startTimer();
}
}