ZegoAudioVideoContainer constructor
const
ZegoAudioVideoContainer({
- Key? key,
- required ZegoLayout layout,
- ZegoAudioVideoViewForegroundBuilder? foregroundBuilder,
- ZegoAudioVideoViewBackgroundBuilder? backgroundBuilder,
- ZegoAudioVideoViewSorter? sortAudioVideo,
- ZegoAudioVideoViewFilter? filterAudioVideo,
- ZegoAvatarConfig? avatarConfig,
- ZegoScreenSharingViewController? screenSharingViewController,
- List<
ZegoAudioVideoContainerSource> sources = const [ZegoAudioVideoContainerSource.audioVideo, ZegoAudioVideoContainerSource.screenSharing],
Implementation
const ZegoAudioVideoContainer(
{Key? key,
required this.layout,
this.foregroundBuilder,
this.backgroundBuilder,
this.sortAudioVideo,
this.filterAudioVideo,
this.avatarConfig,
this.screenSharingViewController,
this.sources = const [
ZegoAudioVideoContainerSource.audioVideo,
ZegoAudioVideoContainerSource.screenSharing,
]})
: super(key: key);