AISmartRepliesStyle class

AISmartRepliesStyle is a data class that has styling-related properties to customize the appearance of AISmartRepliesView

Constructors

AISmartRepliesStyle({TextStyle? replyTextStyle, Color? backgroundColor, TextStyle? emptyTextStyle, Color? errorIconTint, TextStyle? errorTextStyle, Color? loadingIconTint, Color? emptyIconTint, Color? dividerTint, TextStyle? loadingTextStyle})
const

Properties

backgroundColor Color?
backgroundColor changes background color of reply list
final
dividerTint Color?
dividerTint sets color for divider
final
emptyIconTint Color?
emptyIconTint provides color to empty icon
final
emptyTextStyle TextStyle?
emptyTextStyle provides styling for text to indicate replies list is empty
final
errorIconTint Color?
errorIconTint provides color to error icon
final
errorTextStyle TextStyle?
errorTextStyle provides styling for text to indicate some error has occurred while fetching the replies list
final
hashCode int
The hash code for this object.
no setterinherited
loadingIconTint Color?
loadingIconTint provides color to loading icon
final
loadingTextStyle TextStyle?
loadingTextStyle provides styling for text to indicate loading state has occurred while fetching the replies list
final
replyTextStyle TextStyle?
replyTextStyle changes style of suggested reply text
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({TextStyle? replyTextStyle, Color? backgroundColor, Color? loadingIconTint, TextStyle? emptyTextStyle, TextStyle? errorTextStyle, Color? errorIconTint, Color? emptyIconTint, Color? dividerTint, TextStyle? loadingTextStyle}) AISmartRepliesStyle
Copies current AISmartRepliesStyle with some changes
fromJson(Map<String, dynamic> json) AISmartRepliesStyle
merge(AISmartRepliesStyle? other) AISmartRepliesStyle
Merges current AISmartRepliesStyle with other
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