BetterPlayerListVideoPlayer constructor
const
BetterPlayerListVideoPlayer(
- BetterPlayerDataSource dataSource, {
- BetterPlayerConfiguration configuration = const BetterPlayerConfiguration(),
- double playFraction = 0.6,
- bool autoPlay = true,
- bool autoPause = true,
- BetterPlayerListVideoPlayerController? betterPlayerListVideoPlayerController,
- 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);