VideoContent constructor

const VideoContent({
  1. required String url,
  2. String? id,
  3. bool autoPlay = false,
  4. bool loop = false,
  5. double? width,
  6. double? height,
  7. String? title,
  8. String? subtitle,
  9. String? externalLink,
})

Implementation

const VideoContent({
  required this.url,
  super.id,
  this.autoPlay = false,
  this.loop = false,
  this.width,
  this.height,
  this.title,
  this.subtitle,
  this.externalLink,
}) : super(contentType: type);