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