AIAssistBotStyle class

AIAssistBotStyle is a data class that has styling-related properties to customize the appearance of AIAssistBotExtension

Inheritance

Constructors

AIAssistBotStyle({TextStyle? emptyTextStyle, Color? emptyIconTint, Color? errorIconTint, TextStyle? errorTextStyle, TextStyle? loadingTextStyle, Color? loadingIconTint, Color? shadowColor, TextStyle? titleStyle, Color? closeIconTint, Color? background, BoxBorder? border, double? borderRadius, Gradient? gradient})
const

Properties

background Color?
background provides background color to the widget
finalinherited
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
closeIconTint Color?
closeIconTint sets the color for close icon
final
elevation double?
elevation
finalinherited
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
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
loadingIconTint Color?
loadingIconTint provides color to loading icon
final
loadingTextStyle TextStyle?
loadingTextStyle changes style of suggested loading text
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color?
shadowColor changes shadow color of reply text chip/bubbles
final
titleStyle TextStyle?
titleStyle set style for title
final
width double?
width provides width to the widget
finalinherited

Methods

copyWith({TextStyle? replyTextStyle, TextStyle? loadingTextStyle, Color? backgroundColor, Color? loadingIconTint, TextStyle? emptyTextStyle, TextStyle? errorTextStyle, Color? errorIconTint, Color? emptyIconTint, Color? shadowColor, Color? background, BoxBorder? border, double? borderRadius, Gradient? gradient}) AIAssistBotStyle
Copies current AIAssistBotStyle with some changes
merge(AIAssistBotStyle? other) AIAssistBotStyle
Merges current AIAssistBotStyle 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