YoutubePlayerFlags constructor
const
YoutubePlayerFlags({
- bool hideControls = false,
- bool controlsVisibleAtStart = false,
- bool autoPlay = true,
- bool mute = false,
- bool isLive = false,
- bool hideThumbnail = false,
- bool disableDragSeek = false,
- bool enableCaption = true,
- bool loop = false,
- bool forceHD = false,
- int startAt = 0,
- int? endAt,
- bool useHybridComposition = true,
- bool showLiveFullscreenButton = true,
Creates YoutubePlayerFlags.
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,
});