ZegoLayoutGallery constructor
const
ZegoLayoutGallery({
- Key? key,
- required int maxItemCount,
- required List<
ZegoUIKitUser> userList, - required ZegoLayoutGalleryConfig layoutConfig,
- Color backgroundColor = const Color(0xff171821),
- ZegoAudioVideoViewForegroundBuilder? foregroundBuilder,
- ZegoAudioVideoViewBackgroundBuilder? backgroundBuilder,
- ZegoAvatarConfig? avatarConfig,
- 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);