RTCSurfaceView constructor
const
RTCSurfaceView({
- Key? key,
- required RTCViewContext context,
- VideoRenderMode renderMode = VideoRenderMode.fit,
- VideoRotation renderRotation = VideoRotation.rotation0,
- int backgroundColor = 0,
- bool zOrderOnTop = false,
- bool zOrderMediaOverlay = false,
- PlatformViewCreatedCallback? onPlatformViewCreated,
- Set<
Factory< ? gestureRecognizers,OneSequenceGestureRecognizer> >
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);