NECallkitTextureView.remote constructor
const
NECallkitTextureView.remote({
- Key? key,
- required int uid,
- NECallkitVideoRendererController? controller,
- BoxFit fitType = BoxFit.cover,
- Color backgroundColor = const Color(0xFF292933),
- WidgetBuilder? placeholderBuilder,
- 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,
});