CometChatConversationsStyle class

CometChatConversationsStyle is a data class that has styling-related properties to customize the appearance of CometChatConversations

CometChatConversationsStyle(
backgroundColor: Colors.white,
border: Border.all(color: Colors.white, width: 0),
);
Inheritance

Constructors

CometChatConversationsStyle({Color? backgroundColor, Border? border, BorderRadiusGeometry? borderRadius, Color? backIconColor, TextStyle? titleTextStyle, Color? titleTextColor, TextStyle? emptyStateTextStyle, Color? emptyStateTextColor, TextStyle? errorStateTextStyle, Color? errorStateTextColor, TextStyle? emptyStateSubTitleTextStyle, Color? emptyStateSubTitleTextColor, TextStyle? errorStateSubTitleTextStyle, Color? errorStateSubTitleTextColor, TextStyle? itemTitleTextStyle, Color? itemTitleTextColor, TextStyle? itemSubtitleTextStyle, Color? itemSubtitleTextColor, Color? messageTypeIconColor, Color? separatorColor, double? separatorHeight, CometChatTypingIndicatorStyle? typingIndicatorStyle, CometChatAvatarStyle? avatarStyle, CometChatStatusIndicatorStyle? statusIndicatorStyle, CometChatBadgeStyle? badgeStyle, CometChatMessageReceiptStyle? receiptStyle, CometChatMentionsStyle? mentionsStyle, CometChatDateStyle? dateStyle, CometChatConfirmDialogStyle? deleteConversationDialogStyle, Color? privateGroupIconBackground, Color? protectedGroupIconBackground, Color? checkBoxBackgroundColor, BorderSide? checkBoxBorder, BorderRadiusGeometry? checkBoxBorderRadius, Color? checkBoxCheckedBackgroundColor, Color? listItemSelectedBackgroundColor, Color? checkboxSelectedIconColor, Color? submitIconColor, Color? searchIconColor, Color? searchBackgroundColor, BorderSide? searchBorder, BorderRadius? searchBorderRadius, TextStyle? searchPlaceHolderTextStyle, Color? searchPlaceHolderTextColor})
const

Properties

avatarStyle CometChatAvatarStyle?
avatarStyle set style for avatar
final
backgroundColor Color?
backgroundColor provides background color for the widget
final
backIconColor Color?
backIconColor provides color for the back icon
final
badgeStyle CometChatBadgeStyle?
badgeStyle used to customize the unread messages count indicator
final
border Border?
border provides border for the widget
final
borderRadius BorderRadiusGeometry?
borderRadius provides border radius for the widget
final
checkBoxBackgroundColor Color?
checkBoxBackgroundColor provides background color for selected item
final
checkBoxBorder BorderSide?
checkBoxBorder provides border for selected item
final
checkBoxBorderRadius BorderRadiusGeometry?
checkBoxBorderRadius provides border radius for selected item
final
checkBoxCheckedBackgroundColor Color?
checkBoxCheckedBackgroundColor provides check color for selected item
final
checkboxSelectedIconColor Color?
checkboxSelectedIconColor provides color for selected item
final
dateStyle CometChatDateStyle?
dateStyle provides styling for CometChatDate
final
deleteConversationDialogStyle CometChatConfirmDialogStyle?
deleteConversationDialogStyle sets the style for the dialog for deleting conversation
final
emptyStateSubTitleTextColor Color?
emptyStateSubTitleTextColor provides text color for empty state
final
emptyStateSubTitleTextStyle TextStyle?
emptyStateSubTitleTextStyle provides text style for empty state
final
emptyStateTextColor Color?
emptyStateTextColor provides text color for empty state
final
emptyStateTextStyle TextStyle?
emptyStateTextStyle provides text style for empty state
final
errorStateSubTitleTextColor Color?
errorStateSubTitleTextColor provides sub-title text color for error state
final
errorStateSubTitleTextStyle TextStyle?
errorStateTextStyle provides sub-title text style for error state
final
errorStateTextColor Color?
errorStateTextColor provides text color for error state
final
errorStateTextStyle TextStyle?
errorStateTextStyle provides text style for error state
final
hashCode int
The hash code for this object.
no setterinherited
itemSubtitleTextColor Color?
itemSubtitleTextColor provides text color for item tile title
final
itemSubtitleTextStyle TextStyle?
itemSubtitleTextStyle provides text style for item tile title
final
itemTitleTextColor Color?
itemTitleTextColor provides text color for item tile title
final
itemTitleTextStyle TextStyle?
itemTitleTextStyle provides text style for item tile title
final
listItemSelectedBackgroundColor Color?
listItemSelectedBackgroundColor provides background color for selected item
final
mentionsStyle CometChatMentionsStyle?
mentionsStyle sets the style for the mentions shown in the subtitle
final
messageTypeIconColor Color?
messageTypeIconColor provides icon color for message type
final
privateGroupIconBackground Color?
privateGroupIconBackground provides background color for private group icon
final
protectedGroupIconBackground Color?
protectedGroupIconBackground provides background color for protected group icon
final
receiptStyle CometChatMessageReceiptStyle?
receiptStyle sets the style for the receipts shown in the subtitle
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchBackgroundColor Color?
searchBackgroundColor provides background color for search box
final
searchBorder BorderSide?
searchBorder provides border for search box
final
searchBorderRadius BorderRadius?
searchBorderRadius provides border radius for search box
final
searchIconColor Color?
searchIconColor provides color for search icon
final
searchPlaceHolderTextColor Color?
searchPlaceHolderTextColor provides text color for search placeholder
final
searchPlaceHolderTextStyle TextStyle?
searchPlaceHolderTextStyle provides text style for search placeholder
final
separatorColor Color?
separatorColor provides color for the separator
final
separatorHeight double?
separatorHeight provides height for the separator
final
statusIndicatorStyle CometChatStatusIndicatorStyle?
statusIndicatorStyle set style for status indicator
final
submitIconColor Color?
submitIconColor provides color for submit icon
final
titleTextColor Color?
titleTextColor provides text color for the title
final
titleTextStyle TextStyle?
title provides title for the widget
final
type Object
The extension's type.
no setterinherited
typingIndicatorStyle CometChatTypingIndicatorStyle?
typingIndicatorStyle provides style for typing indicator
final

Methods

copyWith({Color? backgroundColor, Border? border, BorderRadiusGeometry? borderRadius, Color? backIconColor, TextStyle? titleTextStyle, Color? titleTextColor, TextStyle? emptyStateTextStyle, Color? emptyStateTextColor, TextStyle? errorStateTextStyle, Color? errorStateTextColor, TextStyle? emptyStateSubtitleTextStyle, Color? emptyStateSubtitleTextColor, TextStyle? errorStateSubTitleTextStyle, Color? errorStateSubTitleTextColor, TextStyle? itemTitleTextStyle, Color? itemTitleTextColor, Color? submitIconColor, TextStyle? itemSubtitleTextStyle, Color? itemSubtitleTextColor, Color? messageTypeIconColor, double? separatorHeight, Color? separatorColor, CometChatAvatarStyle? messageBubbleAvatarStyle, CometChatStatusIndicatorStyle? statusIndicatorStyle, CometChatBadgeStyle? badgeStyle, CometChatMessageReceiptStyle? receiptStyle, CometChatMentionsStyle? mentionsStyle, CometChatDateStyle? dateStyle, CometChatTypingIndicatorStyle? typingIndicatorStyle, CometChatConfirmDialogStyle? deleteConversationDialogStyle, Color? privateGroupIconBackground, Color? protectedGroupIconBackground, BorderSide? checkBoxBorder, Color? checkBoxBackgroundColor, Color? checkBoxCheckedBackgroundColor, BorderRadiusGeometry? checkBoxBorderRadius, Color? listItemSelectedBackgroundColor, Color? checkboxSelectedIconColor, Color? searchIconColor, Color? searchBackgroundColor, BorderSide? searchBorder, BorderRadius? searchBorderRadius, TextStyle? searchPlaceHolderTextStyle, Color? searchPlaceHolderTextColor}) CometChatConversationsStyle
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<CometChatConversationsStyle>? other, double t) CometChatConversationsStyle
Linearly interpolate with another ThemeExtension object.
override
merge(CometChatConversationsStyle? style) CometChatConversationsStyle
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

Static Methods

of(BuildContext context) CometChatConversationsStyle