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