ConversationsStyle class

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

Inheritance

Constructors

ConversationsStyle({Color? backIconTint, TextStyle? titleStyle, double? width, double? height, Color? background, BoxBorder? border, double? borderRadius, Gradient? gradient, TextStyle? emptyTextStyle, TextStyle? errorTextStyle, Color? onlineStatusColor, Color? separatorColor, Color? loadingIconTint, TextStyle? lastMessageStyle, TextStyle? threadIndicatorStyle, TextStyle? typingIndicatorStyle, Color? privateGroupIconBackground, Color? protectedGroupIconBackground})
const

Properties

background Color?
background provides background color to the widget
finalinherited
backIconTint Color?
backIconTint provides color for the back icon
final
border BoxBorder?
border provides border around the widget
finalinherited
borderRadius double?
borderRadius provides radius to the border around the widget
finalinherited
borderRadiusGeometry BorderRadiusGeometry?
borderRadiusGeometry
finalinherited
elevation double?
elevation
finalinherited
emptyTextStyle TextStyle?
emptyTextStyle provides styling for text to indicate user list is empty
final
errorTextStyle TextStyle?
errorTextStyle provides styling for text to indicate some error has occurred while fetching the user list
final
gradient Gradient?
gradient provides (background) gradient to the widget
finalinherited
hashCode int
The hash code for this object.
no setterinherited
height double?
height provides height to the widget
finalinherited
lastMessageStyle TextStyle?
lastMessageStyle provides styling for last message
final
loadingIconTint Color?
loadingIconTint provides color to loading icon
final
onlineStatusColor Color?
onlineStatusColor set online status color
final
privateGroupIconBackground Color?
privateGroupIconBackground provides background color for status indicator if group is private
final
protectedGroupIconBackground Color?
protectedGroupIconBackground provides background color for status indicator if group is private
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
separatorColor Color?
separatorColor set separator color
final
threadIndicatorStyle TextStyle?
threadIndicatorStyle thread indicator shown if message is in thread in group
final
titleStyle TextStyle?
titleStyle TextStyle for title
final
typingIndicatorStyle TextStyle?
typingIndicatorStyle typing indicator widget shown on user is typing
final
width double?
width provides width to the widget
finalinherited

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