ZegoUIKitPrebuiltLiveStreamingMiniOverlayPage constructor

const ZegoUIKitPrebuiltLiveStreamingMiniOverlayPage({
  1. Key? key,
  2. required BuildContext contextQuery(),
  3. bool rootNavigator = true,
  4. bool navigatorWithSafeArea = true,
  5. Size? size,
  6. Offset topLeft = const Offset(100, 100),
  7. double borderRadius = 6.0,
  8. Color borderColor = Colors.black12,
  9. Color soundWaveColor = const Color(0xff2254f6),
  10. double padding = 0.0,
  11. bool showDevices = true,
  12. bool showUserName = true,
  13. bool showLeaveButton = true,
  14. Widget? leaveButtonIcon,
  15. Widget builder(
    1. ZegoUIKitUser? activeUser
    )?,
  16. ZegoAudioVideoViewForegroundBuilder? foregroundBuilder,
  17. ZegoAudioVideoViewBackgroundBuilder? backgroundBuilder,
  18. Widget? foreground,
  19. ZegoAvatarBuilder? avatarBuilder,
})

Implementation

const ZegoUIKitPrebuiltLiveStreamingMiniOverlayPage({
  Key? key,
  required this.contextQuery,
  this.rootNavigator = true,
  this.navigatorWithSafeArea = true,
  this.size,
  this.topLeft = const Offset(100, 100),
  this.borderRadius = 6.0,
  this.borderColor = Colors.black12,
  this.soundWaveColor = const Color(0xff2254f6),
  this.padding = 0.0,
  this.showDevices = true,
  this.showUserName = true,
  this.showLeaveButton = true,
  this.leaveButtonIcon,
  this.builder,
  this.foregroundBuilder,
  this.backgroundBuilder,
  this.foreground,
  this.avatarBuilder,
}) : super(key: key);