ZegoScreenSharingView constructor

const ZegoScreenSharingView({
  1. Key? key,
  2. required ZegoUIKitUser? user,
  3. ZegoAudioVideoViewForegroundBuilder? foregroundBuilder,
  4. ZegoAudioVideoViewBackgroundBuilder? backgroundBuilder,
  5. double? borderRadius,
  6. Color borderColor = const Color(0xffA4A4A4),
  7. Map<String, dynamic> extraInfo = const {},
  8. ZegoShowFullscreenModeToggleButtonRules showFullscreenModeToggleButtonRules = ZegoShowFullscreenModeToggleButtonRules.showWhenScreenPressed,
  9. ZegoScreenSharingViewController? controller,
})

Implementation

const ZegoScreenSharingView({
  Key? key,
  required this.user,
  this.foregroundBuilder,
  this.backgroundBuilder,
  this.borderRadius,
  this.borderColor = const Color(0xffA4A4A4),
  this.extraInfo = const {},
  this.showFullscreenModeToggleButtonRules =
      ZegoShowFullscreenModeToggleButtonRules.showWhenScreenPressed,
  this.controller,
}) : super(key: key);