ZegoLayoutPictureInPictureConfig constructor

ZegoLayoutPictureInPictureConfig({
  1. bool isSmallViewDraggable = true,
  2. bool switchLargeOrSmallViewByClick = true,
  3. ZegoViewPosition smallViewPosition = ZegoViewPosition.topRight,
  4. EdgeInsets? margin,
  5. Size? smallViewSize,
  6. EdgeInsets? spacingBetweenSmallViews,
  7. bool isSmallViewsScrollable = true,
  8. int visibleSmallViewsCount = 3,
  9. bool showNewScreenSharingViewInFullscreenMode = true,
  10. ZegoShowFullscreenModeToggleButtonRules showScreenSharingFullscreenModeToggleButtonRules = ZegoShowFullscreenModeToggleButtonRules.showWhenScreenPressed,
})

Implementation

ZegoLayoutPictureInPictureConfig({
  this.isSmallViewDraggable = true,
  this.switchLargeOrSmallViewByClick = true,
  this.smallViewPosition = ZegoViewPosition.topRight,
  this.margin,
  this.smallViewSize,
  this.spacingBetweenSmallViews,
  this.isSmallViewsScrollable = true,
  this.visibleSmallViewsCount = 3,
  this.showNewScreenSharingViewInFullscreenMode = true,
  this.showScreenSharingFullscreenModeToggleButtonRules =
      ZegoShowFullscreenModeToggleButtonRules.showWhenScreenPressed,
}) : super.internal();