NECallkitTextureView.remote constructor

const NECallkitTextureView.remote({
  1. Key? key,
  2. required int uid,
  3. NECallkitVideoRendererController? controller,
  4. BoxFit fitType = BoxFit.cover,
  5. Color backgroundColor = const Color(0xFF292933),
  6. WidgetBuilder? placeholderBuilder,
  7. NECallkitVideoRendererEventListener? rendererEventListener,
})

创建远端视频视图(自动绑定指定 uid 的远端视频)

Implementation

const NECallkitTextureView.remote({
  super.key,
  required int this.uid,
  this.controller,
  this.fitType = BoxFit.cover,
  this.backgroundColor = const Color(0xFF292933),
  this.placeholderBuilder,
  this.rendererEventListener,
});