getContactItemAvatarBuilder method

  1. @override
Widget getContactItemAvatarBuilder(
  1. V2TimFriendInfo friend
)
override

Implementation

@override
Widget getContactItemAvatarBuilder(V2TimFriendInfo friend) {
  Widget? widget;
  if (_contactItemAvatarBuilder != null) {
    widget = _contactItemAvatarBuilder!(friend);
  }
  return widget ?? TencentCloudChatContactItemAvatar(friend: friend);
}