VideoConfig constructor

const VideoConfig({
  1. bool playImmediately = true,
  2. VisibilityEnum videoVisibilityEnum = VisibilityEnum.useFullScreen,
  3. bool useSafeArea = false,
  4. dynamic onVideoControllerInitialised(
    1. VideoPlayerController videoController
    )?,
})

Provides the configurations for the video

Implementation

const VideoConfig({
  this.playImmediately = true,
  this.videoVisibilityEnum = VisibilityEnum.useFullScreen,
  this.useSafeArea = false,
  this.onVideoControllerInitialised,
});