removeVideoPlayerController method

BetterVideoPlayerValue removeVideoPlayerController()

Implementation

BetterVideoPlayerValue removeVideoPlayerController() {
  return BetterVideoPlayerValue(
    playerKey: this.playerKey,
    isFullScreenMode: this.isFullScreenMode,
    visibilityFraction: this.visibilityFraction,
    isLoading: this.isLoading,
    isVideoFinish: this.isVideoFinish,
    wifiInterrupted: this.wifiInterrupted,
    configuration: this.configuration,
    dataSource: this.dataSource,
    videoPlayerController: null,
    enterFullScreenCallback: this.enterFullScreenCallback,
    exitFullScreenCallback: this.exitFullScreenCallback,
  );
}