TIMUIKitConversation constructor

const TIMUIKitConversation({
  1. Key? key,
  2. ConversationLifeCycle? lifeCycle,
  3. ValueChanged<V2TimConversation>? onTapItem,
  4. TIMUIKitConversationController? controller,
  5. ConversationItemSecondaryMenuBuilder? itemSecondaryMenuBuilder,
  6. ConversationItemBuilder? itemBuilder,
  7. bool isShowDraft = true,
  8. ConversationItemSlideBuilder? itemSlideBuilder,
  9. bool conversationCollector(
    1. V2TimConversation? conversation
    )?,
  10. Widget emptyBuilder()?,
  11. LastMessageBuilder? lastMessageBuilder,
  12. bool isShowOnlineStatus = true,
})

Implementation

const TIMUIKitConversation(
    {Key? key,
    this.lifeCycle,
    this.onTapItem,
    this.controller,
    this.itemSecondaryMenuBuilder,
    this.itemBuilder,
    this.isShowDraft = true,
    this.itemSlideBuilder,
    this.conversationCollector,
    this.emptyBuilder,
    this.lastMessageBuilder,
    this.isShowOnlineStatus = true})
    : super(key: key);