VideoPlayerItem constructor

VideoPlayerItem({
  1. String? title,
  2. required VideoLinkType linkType,
  3. String? url,
  4. FileReference? file,
  5. bool loop = false,
  6. bool autoplay = false,
  7. bool muted = false,
  8. LayoutConfiguration<ContentItem>? layout,
})

Implementation

VideoPlayerItem({
  this.title,
  required this.linkType,
  this.url,
  this.file,
  this.loop = false,
  this.autoplay = false,
  this.muted = false,
  super.layout,
}) : super(schemaType: schemaName);