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