ChatTheme class abstract

Base chat theme containing all required properties to make a theme. Extend this class if you want to create a custom theme.

Implementers
Annotations

Constructors

ChatTheme()
Creates a new chat theme based on provided colors and text styles.
const

Properties

backgroundColor Color
Used as a background color of a chat widget
no setter
carouselBoxDecoration BoxDecoration
Carousel container decoration
no setter
carouselButtonStyle ButtonStyle
Button style used on Carousel widget
no setter
carouselSubtitleTextStyle TextStyle
Subtitle text style used for displaying text on Carousel widget
no setter
carouselTitleTextStyle TextStyle
Title text style used for displaying text on Carousel widget
no setter
hashCode int
The hash code for this object.
no setterinherited
htmlTextColor Color
Color on p, h1, h2, h3, h4, h5 elements.
no setter
htmlTextFontFamily String?
FontFamily on p, h1, h2, h3, h4, h5 elements.
no setter
htmlWidgetTextTime TextStyle
no setter
imageBorderRadius BorderRadius
Image borderRadius
no setter
imageWidgetTextTime TextStyle
no setter
incomingChatTextTime TextStyle
no setter
incomingMessageBodyTextStyle TextStyle
Body text style used for displaying text on different types of received messages
no setter
messageBorderRadius double
Border radius of message container
no setter
messageInset EdgeInsets
Message inset, can be used to have padding between messages
no setter
outgoingChatTextTime TextStyle
no setter
outgoingMessageBodyTextStyle TextStyle
Body text style used for displaying text on different types of sent messages
no setter
primaryColor Color
Primary color, used as a background of outgoing messages
no setter
quickReplyButtonStyle ButtonStyle
Button style used on QuickReply widget
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryColor Color
Secondary color, used as a background of incoming messages
no setter
textMessagePadding double
Text padding to it's container
no setter

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