VideoPlayerController constructor
VideoPlayerController({
- PipFlutterPlayerBufferingConfiguration bufferingConfiguration = const PipFlutterPlayerBufferingConfiguration(),
- bool autoCreate = true,
Constructs a VideoPlayerController and creates video controller on platform side.
Implementation
VideoPlayerController({
this.bufferingConfiguration =
const PipFlutterPlayerBufferingConfiguration(),
bool autoCreate = true,
}) : super(VideoPlayerValue(duration: null)) {
if (autoCreate) {
_create();
}
}