MessageItem constructor

const MessageItem({
  1. Key? key,
  2. required MessageInfo message,
  3. required String conversationID,
  4. bool isGroup = false,
  5. double maxWidth = 200,
  6. MessageListStore? messageListStore,
  7. required bool isHighlighted,
  8. VoidCallback? onHighlightComplete,
  9. OnUserClick? onUserClick,
  10. List<MessageCustomAction> customActions = const [],
  11. required MessageListConfigProtocol config,
})

Implementation

const MessageItem({
  super.key,
  required this.message,
  required this.conversationID,
  this.isGroup = false,
  this.maxWidth = 200,
  this.messageListStore,
  required this.isHighlighted,
  this.onHighlightComplete,
  this.onUserClick,
  this.customActions = const [],
  required this.config,
});