ZegoLayoutPictureInPictureConfig constructor
ZegoLayoutPictureInPictureConfig({
- bool isSmallViewDraggable = true,
- bool switchLargeOrSmallViewByClick = true,
- ZegoViewPosition smallViewPosition = ZegoViewPosition.topRight,
- EdgeInsets? margin,
- Size? smallViewSize,
- EdgeInsets? spacingBetweenSmallViews,
- bool isSmallViewsScrollable = true,
- int visibleSmallViewsCount = 3,
- bool showNewScreenSharingViewInFullscreenMode = true,
- 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();