ConversationItemConfig constructor
const
ConversationItemConfig({
- Color itemTitleColor = CommonColors.color_333333,
- double itemTitleSize = 16,
- Color itemContentColor = CommonColors.color_999999,
- double itemContentSize = 13,
- Color itemDateColor = CommonColors.color_cccccc,
- Color itemAitTextColor = Colors.red,
- double itemDateSize = 12,
- double avatarCornerRadius = 21,
- ConversationItemClick? itemClick,
- ConversationItemLongClick? itemLongClick,
- ConversationAvatarClick? avatarClick,
- ConversationAvatarLongClick? avatarLongClick,
- Comparator<
ConversationInfo> ? conversationComparator, - ConversationItemBuilder? customItemBuilder,
- ConversationLastMessageContentBuilder? lastMessageContentBuilder,
- bool clearMessageWhenDeleteSession = false,
Implementation
const ConversationItemConfig(
{this.itemTitleColor = CommonColors.color_333333,
this.itemTitleSize = 16,
this.itemContentColor = CommonColors.color_999999,
this.itemContentSize = 13,
this.itemDateColor = CommonColors.color_cccccc,
this.itemAitTextColor = Colors.red,
this.itemDateSize = 12,
this.avatarCornerRadius = 21,
this.itemClick,
this.itemLongClick,
this.avatarClick,
this.avatarLongClick,
this.conversationComparator,
this.customItemBuilder,
this.lastMessageContentBuilder,
this.clearMessageWhenDeleteSession = false});