BetterPlayerListVideoPlayer constructor

const BetterPlayerListVideoPlayer(
  1. BetterPlayerDataSource dataSource, {
  2. BetterPlayerConfiguration configuration = const BetterPlayerConfiguration(),
  3. double playFraction = 0.6,
  4. bool autoPlay = true,
  5. bool autoPause = true,
  6. BetterPlayerListVideoPlayerController? betterPlayerListVideoPlayerController,
  7. Key? key,
})

Implementation

const BetterPlayerListVideoPlayer(
  this.dataSource, {
  this.configuration = const BetterPlayerConfiguration(),
  this.playFraction = 0.6,
  this.autoPlay = true,
  this.autoPause = true,
  this.betterPlayerListVideoPlayerController,
  Key? key,
})  : assert(playFraction >= 0.0 && playFraction <= 1.0,
          "Play fraction can't be null and must be between 0.0 and 1.0"),
      super(key: key);