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. List<MessageCustomAction> customActions = const [],
  8. OnMultiSelectModeChanged? onMultiSelectModeChanged,
  9. void onMultiSelectStateChanged(
    1. MultiSelectState? state
    )?,
})

Implementation

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