ZegoAudioVideoContainer constructor

const ZegoAudioVideoContainer({
  1. Key? key,
  2. required ZegoLayout layout,
  3. ZegoAudioVideoViewForegroundBuilder? foregroundBuilder,
  4. ZegoAudioVideoViewBackgroundBuilder? backgroundBuilder,
  5. ZegoAudioVideoViewSorter? sortAudioVideo,
  6. ZegoAudioVideoViewFilter? filterAudioVideo,
  7. ZegoAvatarConfig? avatarConfig,
  8. ZegoScreenSharingViewController? screenSharingViewController,
  9. 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);