SurfaceView constructor

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

Constructs the SurfaceView. Constructs the SurfaceView.

Implementation

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