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