pause method

Future<void> pause()

Pause the video.

Implementation

Future<void> pause() async {
  await _videoPlayerController?.pause();
  _flickManager.flickDisplayManager!
      .handleShowPlayerControls(showWithTimeout: false);
  _notify();
}