TextureView constructor
TextureView({
- Key? key,
- required int uid,
- VideoRenderMode renderMode = VideoRenderMode.Hidden,
- required String channelId,
- VideoMirrorMode mirrorMode = VideoMirrorMode.Auto,
- Set<
Factory< ? gestureRecognizers,OneSequenceGestureRecognizer> > - PlatformViewCreatedCallback? onPlatformViewCreated,
Constructs a TextureView
Implementation
TextureView({
Key? key,
required int uid,
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,
renderMode: renderMode,
channelId: channelId,
mirrorMode: mirrorMode,
gestureRecognizers: gestureRecognizers,
onPlatformViewCreated: onPlatformViewCreated,
);