SurfaceView.screenShare constructor
const
SurfaceView.screenShare({
Constructs the SurfaceView.
Construction method of the SurfaceView class for rendering local screen shared video.
Param gestureRecognizers
The Gesture object.
Param onPlatformViewCreated
This event is triggered when a platform view is created.
Param mirrorMode
The mirror mode of the view. See VideoMirrorMode .
Param renderMode
The rendering mode of the video. See VideoRenderMode .
Param key
Specifiers of Widget, Element, and SemanticsNode. For details, see Flutter's official documentation for a description of the key object.
Implementation
const SurfaceView.screenShare({
Key? key,
VideoRenderMode renderMode = VideoRenderMode.Hidden,
VideoMirrorMode mirrorMode = VideoMirrorMode.Disabled,
PlatformViewCreatedCallback? onPlatformViewCreated,
Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers,
}) : super(
key: key,
uid: 0,
renderMode: renderMode,
mirrorMode: mirrorMode,
onPlatformViewCreated: onPlatformViewCreated,
gestureRecognizers: gestureRecognizers,
subProcess: true,
);