AI Agent Component Spec
AI Agent Component Spec
Where It Fits
CometChatThreadedHeader is a component that displays the parent message of a thread along with a reply count. It’s typically used as part of the ThreadedMessages composite component, appearing at the top of the threaded conversation view. ThreadedMessages is composed of the following widgets:
Minimal Render
The simplest way to render CometChatThreadedHeader:- Dart
- Dart
- Dart
Actions and Events
Callback Props
The CometChatThreadedHeader component does not have traditional callback props. Instead, it provides amessageActionView slot for customizing the action area.
Global UI Events
The CometChatThreadedHeader component does not produce any global UI events.Custom View Slots
Customize the appearance of CometChatThreadedHeader by replacing default views with your own widgets.Example: Custom Message Action View
- Dart
- Android
- iOS

Example: Custom Reply Count with Dividers
- Dart

Templates
Thetemplate prop is used to configure and set a message template for the parent message bubble. It allows for dynamic customization of message appearance, content, or other predefined settings based on the template provided.
- Dart
Styling
Customize the appearance of CometChatThreadedHeader usingCometChatThreadedHeaderStyle.
- Dart
Style Properties
Props Reference
Message List
Display messages in a conversation
Message Composer
Compose and send messages
Theming
Learn how to customize the look and feel
Localization
Support multiple languages in your app
