AIConversationStarterStyle class

AIConversationStarterStyle is a data class that has styling-related properties to customize the appearance of AIConversationStarterExtension

Inheritance

Constructors

AIConversationStarterStyle({TextStyle? replyTextStyle, Color? backgroundColor, TextStyle? emptyTextStyle, Color? emptyIconTint, Color? errorIconTint, TextStyle? errorTextStyle, TextStyle? loadingTextStyle, Color? loadingIconTint, Color? shadowColor, Color? background, BoxBorder? border, double? borderRadius, Gradient? gradient})
const

Properties

background Color?
background provides background color to the widget
finalinherited
backgroundColor Color?
backgroundColor changes background color of reply list
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
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
replyTextStyle TextStyle?
replyTextStyle changes style of suggested reply 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
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}) AIConversationStarterStyle
Copies current AIConversationStarterStyle with some changes
merge(AIConversationStarterStyle? other) AIConversationStarterStyle
Merges current AIConversationStarterStyle 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