FlutterYoutubeView constructor

const FlutterYoutubeView({
  1. Key? key,
  2. required YoutubeParam params,
  3. FlutterYoutubeViewCreatedCallback? onViewCreated,
  4. YouTubePlayerListener? listener,
  5. YoutubeScaleMode scaleMode = YoutubeScaleMode.none,
})

Implementation

const FlutterYoutubeView({Key? key,
  required this.params,
  this.onViewCreated,
  this.listener,
  this.scaleMode = YoutubeScaleMode.none,
})
    : super(key: key);