Hey i have create custom call widget for incoming and outgoing call so i want get custom data to show respective avatar based on gender so how can i get in code .
uiConfig: ZegoCallInvitationUIConfig( inviter: ZegoCallInvitationInviterUIConfig( pageBuilder: (context, info) { return CustomCallWidget( info: info, onHangup: () async { log('on Hangup '); await ZegoUIKitPrebuiltCallInvitationService().cancel( callees: [ZegoCallUser.fromUIKit(info.invitees.first)]); }, ); }, ), invitee: ZegoCallInvitationInviteeUIConfig(pageBuilder: (context, info) { return CustomCallWidget( info: info, onAccept: () async { log('accept call'); await ZegoUIKitPrebuiltCallInvitationService().accept(); }, isOutgoingCall: false, onHangup: () async { log(' hangup for incoming call'); await ZegoUIKitPrebuiltCallInvitationService().reject(); }); })),
Hey i have create custom call widget for incoming and outgoing call so i want get custom data to show respective avatar based on gender so how can i get in code .
uiConfig: ZegoCallInvitationUIConfig( inviter: ZegoCallInvitationInviterUIConfig( pageBuilder: (context, info) { return CustomCallWidget( info: info, onHangup: () async { log('on Hangup '); await ZegoUIKitPrebuiltCallInvitationService().cancel( callees: [ZegoCallUser.fromUIKit(info.invitees.first)]); }, ); }, ), invitee: ZegoCallInvitationInviteeUIConfig(pageBuilder: (context, info) { return CustomCallWidget( info: info, onAccept: () async { log('accept call'); await ZegoUIKitPrebuiltCallInvitationService().accept(); }, isOutgoingCall: false, onHangup: () async { log(' hangup for incoming call'); await ZegoUIKitPrebuiltCallInvitationService().reject(); }); })),