YoutubePlayerFlags constructor

const YoutubePlayerFlags({
  1. bool hideControls = false,
  2. bool controlsVisibleAtStart = false,
  3. bool autoPlay = true,
  4. bool mute = false,
  5. bool isLive = false,
  6. bool hideThumbnail = false,
  7. bool disableDragSeek = false,
  8. bool enableCaption = true,
  9. String captionLanguage = 'en',
  10. bool loop = false,
  11. bool forceHD = false,
  12. int startAt = 0,
  13. int? endAt,
  14. bool useHybridComposition = true,
  15. bool showLiveFullscreenButton = true,
})

Implementation

const YoutubePlayerFlags({
  this.hideControls = false,
  this.controlsVisibleAtStart = false,
  this.autoPlay = true,
  this.mute = false,
  this.isLive = false,
  this.hideThumbnail = false,
  this.disableDragSeek = false,
  this.enableCaption = true,
  this.captionLanguage = 'en',
  this.loop = false,
  this.forceHD = false,
  this.startAt = 0,
  this.endAt,
  this.useHybridComposition = true,
  this.showLiveFullscreenButton = true,
});