YouTubeVideoPlayer constructor
const
YouTubeVideoPlayer({
- Key? key,
- required String videoSource,
- YouTubePlayerConfig config = const YouTubePlayerConfig(),
- VoidCallback? onEnded,
Implementation
const YouTubeVideoPlayer({
super.key,
required this.videoSource,
this.config = const YouTubePlayerConfig(),
this.onEnded,
});