YoutubeVideoView constructor

const YoutubeVideoView({
  1. Key? key,
  2. required String videoId,
})

Implementation

const YoutubeVideoView({
  Key? key,
  required this.videoId,
})  : thumbnailUrl = 'https://img.youtube.com/vi/$videoId/maxresdefault.jpg',
      super(key: key);