VideoNativeView constructor

const VideoNativeView({
  1. Key? key,
  2. int channelType = 1,
  3. int contentType = 1,
  4. int style = 2,
  5. bool hideChannelName = false,
  6. bool autoPlay = true,
  7. VideoController? controller,
  8. VideoListener? listener,
  9. String? videoId,
  10. Map<String, dynamic>? extra,
  11. Set<Factory<OneSequenceGestureRecognizer>> gestureRecognizers = const <Factory<OneSequenceGestureRecognizer>>{},
})

Implementation

const VideoNativeView({
  super.key,
  this.channelType = 1,
  this.contentType = 1,
  this.style = 2,
  this.hideChannelName = false,
  this.autoPlay = true,
  this.controller,
  this.listener,
  this.videoId,
  this.extra,
  this.gestureRecognizers = const <Factory<OneSequenceGestureRecognizer>>{},
});