TextureView constructor

TextureView({
  1. Key? key,
  2. required int uid,
  3. VideoRenderMode renderMode = VideoRenderMode.Hidden,
  4. required String channelId,
  5. VideoMirrorMode mirrorMode = VideoMirrorMode.Auto,
  6. Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers,
  7. PlatformViewCreatedCallback? onPlatformViewCreated,
})

Constructs a TextureView

Implementation

TextureView({
  Key? key,
  required int uid,
  VideoRenderMode renderMode = VideoRenderMode.Hidden,
  required String channelId,
  VideoMirrorMode mirrorMode = VideoMirrorMode.Auto,
  Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers,
  PlatformViewCreatedCallback? onPlatformViewCreated,
})  : assert(uid != 0),
      super(
        key: key,
        uid: uid,
        renderMode: renderMode,
        channelId: channelId,
        mirrorMode: mirrorMode,
        gestureRecognizers: gestureRecognizers,
        onPlatformViewCreated: onPlatformViewCreated,
      );