ZegoLayoutGalleryConfig constructor

ZegoLayoutGalleryConfig({
  1. bool showOnlyOnAudioVideo = false,
  2. EdgeInsetsGeometry margin = const EdgeInsets.all(2.0),
  3. bool addBorderRadiusAndSpacingBetweenView = true,
  4. bool showNewScreenSharingViewInFullscreenMode = true,
  5. ZegoShowFullscreenModeToggleButtonRules showScreenSharingFullscreenModeToggleButtonRules = ZegoShowFullscreenModeToggleButtonRules.showWhenScreenPressed,
})

Implementation

ZegoLayoutGalleryConfig({
  this.showOnlyOnAudioVideo = false,
  this.margin = const EdgeInsets.all(2.0),
  this.addBorderRadiusAndSpacingBetweenView = true,
  this.showNewScreenSharingViewInFullscreenMode = true,
  this.showScreenSharingFullscreenModeToggleButtonRules =
      ZegoShowFullscreenModeToggleButtonRules.showWhenScreenPressed,
}) : super.internal();