NERoomUserVideoView.subStream constructor Null safety

NERoomUserVideoView.subStream(
  1. String userId,
  2. {Key? key,
  3. String? debugName,
  4. NERoomUserVideoViewListener? listener,
  5. bool mirror = false,
  6. WidgetBuilder? builder,
  7. NERtcVideoViewFitType fitType = NERtcVideoViewFitType.contain,
  8. Color backgroundColor = const Color(0xFF292933)}
)

辅流

Implementation

NERoomUserVideoView.subStream(
  this.userId, {
  Key? key,
  this.debugName,
  this.listener,
  this.mirror = false,
  this.builder,
  this.fitType = NERtcVideoViewFitType.contain,
  this.backgroundColor = const Color(0xFF292933),
})  : streamType = null,
      subStream = true,
      super(key: key ?? _UserVideoKey(userId, true));