MessageItem constructor
const
MessageItem({
- Key? key,
- required MessageInfo message,
- required String conversationID,
- bool isGroup = false,
- double maxWidth = 200,
- MessageListStore? messageListStore,
- required bool isHighlighted,
- VoidCallback? onHighlightComplete,
- OnUserClick? onUserClick,
- List<
MessageCustomAction> customActions = const [], - 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,
});