ChatUIKitDetailItemBuilder typedef
ChatUIKitDetailItemBuilder =
List<ChatUIKitDetailsListViewItemModel> Function(BuildContext context, ChatUIKitProfile? profile, List<ChatUIKitDetailsListViewItemModel> defaultItems)
用于在联系人详情页添加 list item,会返回默认的列表,需要你调整后返回来,返回来的数据会用于菜单显示。
Implementation
typedef ChatUIKitDetailItemBuilder = List<ChatUIKitDetailsListViewItemModel>
Function(
BuildContext context,
ChatUIKitProfile? profile,
List<ChatUIKitDetailsListViewItemModel> defaultItems,
);