RTCSurfaceView constructor

const RTCSurfaceView({
  1. Key? key,
  2. required RTCViewContext context,
  3. VideoRenderMode renderMode = VideoRenderMode.fit,
  4. VideoRotation renderRotation = VideoRotation.rotation0,
  5. int backgroundColor = 0,
  6. bool zOrderOnTop = false,
  7. bool zOrderMediaOverlay = false,
  8. PlatformViewCreatedCallback? onPlatformViewCreated,
  9. Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers,
})

Implementation

const RTCSurfaceView({
  Key? key,
  required this.context,
  this.renderMode = VideoRenderMode.fit,
  this.renderRotation = VideoRotation.rotation0,
  this.backgroundColor = 0,
  this.zOrderOnTop = false,
  this.zOrderMediaOverlay = false,
  this.onPlatformViewCreated,
  this.gestureRecognizers,
}) : super(key: key);