TextureView constructor

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

Constructs the TextureView. Constructs the TextureView.

Implementation

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