NECallkitTextureView.local constructor

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

创建本地视频视图(自动绑定本地摄像头)

Implementation

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