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
replyToConversation(LMChatConversationViewData)
The conversation to which this reply belongs.title(Widget?)
Custom title widget for the reply item.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.
| Property | Type | Description | Required | Default |
|---|---|---|---|---|
backgroundColor | Color? | Background color of the reply item | No | null |
borderRadius | double? | Border radius of the reply bubble | No | 8.0 |
padding | EdgeInsetsGeometry? | Padding inside the reply bubble | No | None |
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),
),
);