Skip to main content
The CometChat V6 UI Kit provides CometChatOutgoingMessageBubbleStyle and CometChatIncomingMessageBubbleStyle for fine-grained control over message bubble appearance. These classes extend ThemeExtension, allowing customizations through global theming or explicit style objects.

How These Classes Help

1. Targeted Customization

Customize specific attributes of message bubbles:
  • Background color, border radius, text style
  • Specialized bubbles: Audio, File, Collaborative, Poll, Deleted, Link Preview, Sticker, Call bubbles
  • Reactions, timestamps, avatars, and borders

2. Unified Global Theming

Apply styles via Flutter’s global theming or pass them to CometChatMessageListStyle:

3. Ease of Integration

Pass styles directly to CometChatMessageList:

Customizable Message Bubbles

Text Bubble

Image Bubble

Video Bubble

Audio Bubble

File Bubble

Sticker Bubble

Call Bubble

Collaborative Whiteboard Bubble

Collaborative Document Bubble

Poll Bubble

Action Message Bubble

Deleted Message Bubble

AI Assistant Bubble