MessageContent constructor
const
MessageContent({
- Key? key,
- required List<
ChatMessageModel> chatList, - required int index,
- String search = "",
- bool isSelected = false,
- required dynamic onPlayAudio(),
- required dynamic onSeekbarChange(),
- SenderChatBubbleStyle senderChatBubbleStyle = const SenderChatBubbleStyle(),
- ReceiverChatBubbleStyle receiverChatBubbleStyle = const ReceiverChatBubbleStyle(),
- NotificationMessageViewStyle notificationMessageViewStyle = const NotificationMessageViewStyle(),
Implementation
const MessageContent(
{Key? key,
required this.chatList,
required this.index,
this.search = "",
this.isSelected = false,
required this.onPlayAudio,
required this.onSeekbarChange,
this.senderChatBubbleStyle = const SenderChatBubbleStyle(),
this.receiverChatBubbleStyle = const ReceiverChatBubbleStyle(),
this.notificationMessageViewStyle = const NotificationMessageViewStyle()})
: super(key: key);