TRTCVideoLayout constructor
- {int zOrder = 0,
- TRTCVideoFillMode fillMode = TRTCVideoFillMode.fill,
- int backgroundColor = 0,
- TRTCVideoStreamType fixedVideoStreamType = TRTCVideoStreamType.big,
- TRTCRect? rect,
- TRTCUser? fixedVideoUser,
- Uint8List? placeHolderImage}
Implementation
TRTCVideoLayout({
this.zOrder = 0,
this.fillMode = TRTCVideoFillMode.fill,
this.backgroundColor = 0,
this.fixedVideoStreamType = TRTCVideoStreamType.big,
TRTCRect? rect,
TRTCUser? fixedVideoUser,
Uint8List? placeHolderImage,
}) : rect = rect ?? TRTCRect(),
fixedVideoUser = fixedVideoUser ?? TRTCUser(),
placeHolderImage = placeHolderImage ?? Uint8List.fromList([]);