YouTubeVideoPlayer constructor

const YouTubeVideoPlayer({
  1. Key? key,
  2. required String videoSource,
  3. YouTubePlayerConfig config = const YouTubePlayerConfig(),
  4. VoidCallback? onEnded,
})

Implementation

const YouTubeVideoPlayer({
  super.key,
  required this.videoSource,
  this.config = const YouTubePlayerConfig(),
  this.onEnded,
});