TextureView constructor

最近更新时间:2022-09-20 05:17:40

TextureView(
    {Key key,
    VideoRenderMode renderMode: VideoRenderMode.Hidden,
    String channelId,
    VideoMirrorMode mirrorMode: VideoMirrorMode.Auto,
    Set<Factory<OneSequenceGestureRecognizer>> gestureRecognizers,
    PlatformViewCreatedCallback onPlatformViewCreated}
)

Constructs a TextureView

Implementation

TextureView({
  Key key,
  VideoRenderMode renderMode = VideoRenderMode.Hidden,
  String channelId,
  VideoMirrorMode mirrorMode = VideoMirrorMode.Auto,
  Set<Factory<OneSequenceGestureRecognizer>> gestureRecognizers,
  PlatformViewCreatedCallback onPlatformViewCreated,
}) : super(
    key: key,
          renderMode: renderMode,
          channelId: channelId,
          mirrorMode: mirrorMode,
          gestureRecognizers: gestureRecognizers,
          onPlatformViewCreated: onPlatformViewCreated,
          uid: "0");