Widget | Description |
---|---|
MessageList | CometChatMessageList is a widget that displays a list of Messages |
MessageComposer | CometChatMessageComposer is a widget that helps in writing and editing of messages and also sending attachments |
CometChatThreadedMessages
directly using Navigator.push
, or you can define it as a widget within the build
method of your State
class.
CometChatThreadedMessages
CometChatThreadedMessages
as a Widget in the build MethodonThreadReplyClick
of the MessageList Widget using MessageListConfiguration
and applying it to ThreadedMessages.
ParentMessageID
and searching for messages that contain the keyword “payment”.
Widget
. By using event you can extend existing functionality. Being global events, they can be applied in Multiple Locations and are capable of being Added or Removed.
The MessageList Widget does not emit any events of its own.
setStyle
method.
ThreadedMessagesStyle
:
Property | Description | Code |
---|---|---|
Background | Sets the background color of the threaded message style. | background: Color? |
Border | Sets the border properties of the threaded message style. | border: Border? |
Border Radius | Sets the border radius of the threaded message style. | borderRadius: BorderRadius? |
Close Icon Tint | Sets the color for the close icon. | closeIconTint: Color? |
Gradient | Sets the gradient applied to the threaded message style. | gradient: Gradient? |
Height | Sets the height of the threaded message style. | height: double? |
Title Style | Sets the text style for the title. | titleStyle: TextStyle? |
Width | Sets the width of the threaded message style. | width: double? |
Property | Description | Code |
---|---|---|
Close Icon | Sets the icon for closing the threaded messages. | closeIcon: Icon? |
Hide Message Composer | Hides the message composer. | hideMessageComposer: bool? |
Theme | Sets the theme for the threaded messages. | theme: Theme? |
Title | Sets the title for the threaded messages. | title: String? |
bubbleView
, You can set parent message buggle widget inside CometChatThreadedMessages
Widget.
Example
Here is the complete example for reference:
messageActionView
method, you can assign custom actions to the parent message bubble widget inside the CometChatThreadedMessages
Widget.
Example
Here is the complete example for reference:
messageListView
method. But keep in mind, by using this you will override the default message ListView functionality.
Example
Here is the complete example for reference:
messageComposerView
method. But keep in mind, by using this you will override the default message composer functionality.
Example
Here is the complete example for reference:
MessageListConfiguration
object.
Example
Here is the complete example for reference:
MessageComposerConfiguration
object.
Example
Here is the complete example for reference: