VideoView constructor

const VideoView(
  1. String url, {
  2. Key? key,
  3. String cover = "",
  4. bool autoPlay = false,
  5. bool looping = false,
  6. double aspectRatio = 16 / 9,
})

Implementation

const VideoView(this.url,
    {Key? key,
    this.cover = "",
    this.autoPlay = false,
    this.looping = false,
    this.aspectRatio = 16 / 9})
    : super(key: key);