VideoPlayback constructor

const VideoPlayback(
  1. String url, {
  2. Key? key,
  3. String? checksum,
  4. void onController(
    1. VideoPlayerController?
    )?,
  5. FutureOr<void> onError()?,
  6. double? volume,
  7. void onVolumeChanged(
    1. double
    )?,
  8. bool loop = false,
  9. bool autoplay = true,
})

Implementation

const VideoPlayback(
  this.url, {
  super.key,
  this.checksum,
  this.onController,
  this.onError,
  this.volume,
  this.onVolumeChanged,
  this.loop = false,
  this.autoplay = true,
});