MessageList constructor

const MessageList({
  1. Key? key,
  2. required String conversationID,
  3. MessageListConfigProtocol config = const ChatMessageListConfig(),
  4. MessageInfo? locateMessage,
  5. OnUserClick? onUserClick,
  6. OnUserLongPress? onUserLongPress,
  7. OnCallMessageClick? onCallMessageClick,
  8. List<MessageCustomAction> customActions = const [],
  9. OnMultiSelectModeChanged? onMultiSelectModeChanged,
  10. void onMultiSelectStateChanged(
    1. MultiSelectState? state
    )?,
  11. List<GroupAtInfo>? groupAtInfoList,
  12. int initialUnreadCount = 0,
})

Implementation

const MessageList({
  super.key,
  required this.conversationID,
  this.config = const ChatMessageListConfig(),
  this.locateMessage,
  this.onUserClick,
  this.onUserLongPress,
  this.onCallMessageClick,
  this.customActions = const [],
  this.onMultiSelectModeChanged,
  this.onMultiSelectStateChanged,
  this.groupAtInfoList,
  this.initialUnreadCount = 0,
});