NERoomUserVideoView constructor Null safety
- String userId,
- {Key? key,
- String? debugName,
- NERoomUserVideoViewListener? listener,
- bool mirror = false,
- NEVideoStreamType? streamType = NEVideoStreamType.kLow,
- dynamic fitType = NERtcVideoViewFitType.contain,
- WidgetBuilder? builder,
- Color backgroundColor = const Color(0xFF292933)}
mainstream
Implementation
NERoomUserVideoView(
this.userId, {
Key? key,
this.debugName,
this.listener,
this.mirror = false,
this.streamType = NEVideoStreamType.kLow,
this.fitType = NERtcVideoViewFitType.contain,
this.builder,
this.backgroundColor = const Color(0xFF292933),
}) : subStream = false,
super(key: key ?? _UserVideoKey(userId, false));