SurfaceView constructor

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

Constructs a SurfaceView

Implementation

SurfaceView({
  Key? key,
  String? channelId,
  renderMode = VideoRenderMode.Hidden,
  mirrorMode = VideoMirrorMode.Auto,
  PlatformViewCreatedCallback? onPlatformViewCreated,
  Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers,
}) : super(
        key: key,

        channelId: channelId,
        renderMode: renderMode,
        mirrorMode: mirrorMode,

        onPlatformViewCreated: onPlatformViewCreated,
        gestureRecognizers: gestureRecognizers,
        uid: "0"
      );