YoutubePlayerIFrame constructor

const YoutubePlayerIFrame({
  1. Key? key,
  2. YoutubePlayerController? controller,
  3. double aspectRatio = 16 / 9,
  4. Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers,
})

A widget to play or stream Youtube Videos.

Implementation

const YoutubePlayerIFrame({
  Key? key,
  this.controller,
  this.aspectRatio = 16 / 9,
  this.gestureRecognizers,
}) : super(key: key);