VideoPage constructor

VideoPage(
  1. String url,
  2. int index, {
  3. Key? key,
  4. bool autoPlay = true,
  5. double volume = 1.0,
  6. Function? listener,
  7. bool isPage = true,
  8. bool firstStop = false,
  9. bool enableFullscreen = true,
  10. bool enablePlayPause = true,
  11. double? width,
  12. bool notPlay = false,
  13. double? height,
  14. ControlVideoListener? controlListener,
  15. bool isLocal = false,
})

Implementation

VideoPage(this.url, this.index,
    {Key? key, this.autoPlay = true,
      this.volume = 1.0,
      this.listener,
      this.isPage = true,
      this.firstStop = false,
      this.enableFullscreen = true,
      this.enablePlayPause = true,
      this.width, this.notPlay = false,
      this.height, this.controlListener,this.isLocal = false}) : super(key: key);