ZegoLayoutGallery constructor

const ZegoLayoutGallery({
  1. Key? key,
  2. required int maxItemCount,
  3. required List<ZegoUIKitUser> userList,
  4. required ZegoLayoutGalleryConfig layoutConfig,
  5. Color backgroundColor = const Color(0xff171821),
  6. ZegoAudioVideoViewForegroundBuilder? foregroundBuilder,
  7. ZegoAudioVideoViewBackgroundBuilder? backgroundBuilder,
  8. ZegoAvatarConfig? avatarConfig,
  9. ZegoScreenSharingViewController? screenSharingViewController,
})

Implementation

const ZegoLayoutGallery({
  Key? key,
  required this.maxItemCount,
  required this.userList,
  required this.layoutConfig,
  this.backgroundColor = const Color(0xff171821),
  this.foregroundBuilder,
  this.backgroundBuilder,
  this.avatarConfig,
  this.screenSharingViewController,
}) : super(key: key);