Skip to main content

LMChatBubbleReply

File location
chat_bubble_reply.dart

LMChatBubbleReply displays a reply to a conversation within a chat bubble, showing relevant information such as media, title, or subtitle.

Properties

  1. replyToConversation (LMChatConversationViewData)
    The conversation to which this reply belongs.

  2. title (Widget?)
    Custom title widget for the reply item.

  3. chatBubbleReplyStyle (LMChatBubbleReplyStyle?)
    Style configuration for the reply item.

Note: These properties are only a subset. More can be found inside the widget class.


Styling

LMChatBubbleReplyStyle

File location
chat_bubble_reply.dart

LMChatBubbleReplyStyle defines the appearance of the reply bubble, including padding, colors, and border radius.

PropertyTypeDescriptionRequiredDefault
backgroundColorColor?Background color of the reply itemNonull
borderRadiusdouble?Border radius of the reply bubbleNo8.0
paddingEdgeInsetsGeometry?Padding inside the reply bubbleNoNone

Note: These properties are only a subset. More can be found inside the style class.


Example Usage

final replyBubble = LMChatBubbleReply(
replyToConversation: conversationData,
title: Text('Reply Title'),
chatBubbleReplyStyle: LMChatBubbleReplyStyle(
backgroundColor: Colors.grey[200],
borderRadius: 8.0,
padding: EdgeInsets.all(8.0),
),
);