foregroundBuilder property

Widget Function(BuildContext context, Size size, ZegoUIKitUser? user, String roomID)? foregroundBuilder
final

foreground builder, you can display something you want on top of the view, foreground will always show

Implementation

final Widget Function(
  BuildContext context,
  Size size,
  ZegoUIKitUser? user,
  String roomID,
)? foregroundBuilder;