SurfaceView constructor

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

Constructs a SurfaceView

Implementation

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