ThreadedMessagesConfiguration class
ThreadedMessagesConfiguration is a data class that has configuration properties to customize the functionality and appearance of CometChatThreadedMessages
ThreadedMessagesConfiguration(
threadedMessagesStyle: ThreadedMessageStyle(),
messageComposerConfiguration: MessageComposerConfiguration(),
messageListConfiguration: MessageListConfiguration()
);
Constructors
- ThreadedMessagesConfiguration({String? title, Widget? closeIcon, dynamic messageActionView(BaseMessage message, BuildContext context)?, MessageComposerConfiguration? messageComposerConfiguration, MessageListConfiguration? messageListConfiguration, ThreadedMessageStyle? threadedMessagesStyle, bool? hideMessageComposer, Widget bubbleView(BaseMessage, BuildContext context)?, CometChatTheme? theme, Widget messageComposerView(User? user, Group? group, BuildContext context, BaseMessage parentMessage)?, Widget messageListView(User? user, Group? group, BuildContext context, BaseMessage parentMessage)?})
-
const
Properties
- bubbleView → Widget Function(BaseMessage, BuildContext context)?
-
bubbleView bubble view for parent message
final
- closeIcon → Widget?
-
to update Close Icon
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hideMessageComposer → bool?
-
hideMessageComposer toggle visibility for message composer
final
- messageActionView → dynamic Function(BaseMessage message, BuildContext context)?
-
messageActionView custom action view
final
- messageComposerConfiguration → MessageComposerConfiguration?
-
messageComposerConfiguration configuration class for CometChatMessageComposer
final
- messageComposerView → Widget Function(User? user, Group? group, BuildContext context, BaseMessage parentMessage)?
-
messageComposerView to set custom message composer
final
- messageListConfiguration → MessageListConfiguration?
-
messageListConfiguration configuration class for CometChatMessageList
final
- messageListView → Widget Function(User? user, Group? group, BuildContext context, BaseMessage parentMessage)?
-
messageListView to set custom message list
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- theme → CometChatTheme?
-
theme can pass custom theme
final
- threadedMessagesStyle → ThreadedMessageStyle?
-
threadedMessagesStyle style parameter
final
- title → String?
-
title to be shown at head
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited