SurfaceView constructor
SurfaceView({
- Key? key,
- required int uid,
- String? channelId,
- dynamic renderMode = VideoRenderMode.Hidden,
- dynamic mirrorMode = VideoMirrorMode.Auto,
- dynamic zOrderOnTop = false,
- dynamic zOrderMediaOverlay = false,
- PlatformViewCreatedCallback? onPlatformViewCreated,
- Set<
Factory< ? gestureRecognizers,OneSequenceGestureRecognizer> >
Constructs a SurfaceView
Implementation
SurfaceView({
Key? key,
required int uid,
String? channelId,
renderMode = VideoRenderMode.Hidden,
mirrorMode = VideoMirrorMode.Auto,
zOrderOnTop = false,
zOrderMediaOverlay = false,
PlatformViewCreatedCallback? onPlatformViewCreated,
Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers,
}) : assert(uid != 0),
super(
key: key,
uid: uid,
channelId: channelId,
renderMode: renderMode,
mirrorMode: mirrorMode,
zOrderOnTop: zOrderOnTop,
zOrderMediaOverlay: zOrderMediaOverlay,
onPlatformViewCreated: onPlatformViewCreated,
gestureRecognizers: gestureRecognizers,
);