SurfaceView constructor
const
SurfaceView({
- Key? key,
- String? channelId,
- VideoRenderMode renderMode = VideoRenderMode.Hidden,
- VideoMirrorMode mirrorMode = VideoMirrorMode.Auto,
- bool zOrderOnTop = false,
- bool zOrderMediaOverlay = false,
- PlatformViewCreatedCallback? onPlatformViewCreated,
- Set<
Factory< ? gestureRecognizers,OneSequenceGestureRecognizer> >
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,
);