ZegoUIKitPrebuiltLiveStreamingMiniOverlayPage constructor
const
ZegoUIKitPrebuiltLiveStreamingMiniOverlayPage({
- Key? key,
- required BuildContext contextQuery(),
- Size? size,
- Offset topLeft = const Offset(100, 100),
- double borderRadius = 6.0,
- Color borderColor = Colors.black12,
- Color soundWaveColor = const Color(0xff2254f6),
- double padding = 0.0,
- bool showDevices = true,
- bool showUserName = true,
- bool showLeaveButton = true,
- Widget? leaveButtonIcon,
- Widget builder(
- ZegoUIKitUser? activeUser
- ZegoAudioVideoViewForegroundBuilder? foregroundBuilder,
- ZegoAudioVideoViewBackgroundBuilder? backgroundBuilder,
- Widget? foreground,
- 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);