Skip to main content

LMChatBubbleHeader

File location
chat_bubble_header.dart

LMChatBubbleHeader displays the header information of a chat bubble, including the sender’s name.

Properties

  1. conversationUser (LMChatUserViewData)
    Represents the user associated with the conversation.

  2. style (LMChatTextStyle?)
    Controls the appearance of the header text.

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


Example Usage

final header = LMChatBubbleHeader(
conversationUser: LMChatUserViewData(name: 'John Doe'),
style: LMChatTextStyle(
textStyle: TextStyle(
fontWeight: FontWeight.bold,
color: Colors.blue,
),
),
);