{
"component": "CometChatThreadedHeader",
"package": "cometchat_chat_uikit",
"import": "import 'package:cometchat_chat_uikit/cometchat_chat_uikit.dart';",
"description": "A widget that displays the parent message of a thread along with a reply count, used as the header section in threaded message views",
"primaryOutput": {
"prop": "messageActionView",
"type": "Widget Function(BaseMessage message, BuildContext context)?"
},
"props": {
"data": {
"parentMessage": {
"type": "BaseMessage",
"required": true,
"note": "Parent message for the thread"
},
"loggedInUser": {
"type": "User",
"required": true,
"note": "Logged in user object"
},
"template": {
"type": "CometChatMessageTemplate?",
"default": "null",
"note": "Message template used in the thread"
},
"height": {
"type": "double?",
"default": "null",
"note": "Height of the widget"
},
"width": {
"type": "double?",
"default": "null",
"note": "Width of the widget"
}
},
"visibility": {
"receiptsVisibility": {
"type": "bool?",
"default": true
}
},
"viewSlots": {
"messageActionView": "Widget Function(BaseMessage message, BuildContext context)?"
}
},
"events": [],
"sdkListeners": [],
"compositionExample": {
"description": "CometChatThreadedHeader is typically used within CometChatThreadedMessages as the header component",
"components": ["CometChatThreadedMessages", "CometChatMessageList", "CometChatMessageComposer"],
"flow": "Parent message displayed at top → Reply count shown → Message list below with replies"
},
"types": {}
}