AgentConversationStyler class

Inheritance
Implemented types

Properties

$animation → AnimationConfig?
finalinherited
$blockSpacing → Prop<double>?
final
$container → Prop<StyleSpec<BoxSpec>>?
final
$empty → Prop<StyleSpec<BoxSpec>>?
final
$latest → Prop<StyleSpec<BoxSpec>>?
final
$maxWidth → Prop<double>?
final
$modifier → WidgetModifierConfig?
finalinherited
$padding → Prop<EdgeInsetsGeometry>?
final
$stylerFieldNames → Set<String>
Names of every field represented by the Styler's Mix.props.
no setteroverride
$turn → Prop<StyleSpec<BoxSpec>>?
final
$turnSpacing → Prop<double>?
final
$variants → List<VariantStyle<AgentConversationSpec>>?
finalinherited
hashCode → int
Overrides the hash code getter to compute hash code based on properties.
no setterinherited
mergeKey → Object
Default implementation uses runtimeType as the merge key
no setterinherited
props → List<Object?>
The properties based on which equality and hash code are computed.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool
Whether to use a detailed string representation of the object.
no setterinherited

Methods

animate(AnimationConfig value) → AgentConversationStyler
Sets the animation configuration.
override
applyVariants(Iterable<NamedVariant> variantsToApply) → AgentConversationStyler
Applies the specified named variants by merging their styles into this style.
inherited
blockSpacing(double value) → AgentConversationStyler
Sets the blockSpacing.
build(BuildContext context, {Set<NamedVariant> namedVariants = const {}}) → StyleSpec<AgentConversationSpec>
Builds the style into a fully resolved spec with metadata.
inherited
container(BoxStyler value) → AgentConversationStyler
Sets the container.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
empty(BoxStyler value) → AgentConversationStyler
Sets the empty.
getDiff(Equatable other) → Map<String, String>
Returns a map of properties that differ between this object and another.
inherited
keyframeAnimation({Listenable? trigger, required List<KeyframeTrack> timeline, required KeyframeStyleBuilder<AgentConversationSpec, AgentConversationStyler> styleBuilder}) → AgentConversationStyler
Creates a keyframe animation. It will animate through the given timeline.
inherited
latest(BoxStyler value) → AgentConversationStyler
Sets the latest.
maxWidth(double value) → AgentConversationStyler
Sets the maxWidth.
merge(covariant AgentConversationStyler? other) → AgentConversationStyler
Merges with another AgentConversationStyler.
override
mergeActiveVariants(BuildContext context, {required Set<NamedVariant> namedVariants}) → Style<AgentConversationSpec>
Merges all active variants with their nested variants recursively.
inherited
modifier(WidgetModifierConfig value) → AgentConversationStyler
Sets the widget modifier.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onAndroid(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for Android platform.
inherited
onBreakpoint(Breakpoint breakpoint, AgentConversationStyler style) → AgentConversationStyler
Creates a variant based on the specified breakpoint.
inherited
onBuilder(AgentConversationStyler fn(BuildContext context)) → AgentConversationStyler
Creates a variant using a builder function that receives the build context.
inherited
onDark(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for dark mode.
inherited
onDesktop(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for desktop breakpoint.
inherited
onDisabled(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for disabled state
inherited
onEnabled(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for enabled state (opposite of disabled)
inherited
onFocused(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for focused state.
inherited
onFocusVisible(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for focus that should show a focus indicator.
inherited
onFuchsia(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for Fuchsia platform.
inherited
onHovered(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for hover state
inherited
onIos(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for iOS platform.
inherited
onLandscape(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for landscape device orientation.
inherited
onLight(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for light mode.
inherited
onLinux(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for Linux platform.
inherited
onLtr(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for left-to-right text direction.
inherited
onMacos(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for macOS platform.
inherited
onMobile(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for mobile breakpoint.
inherited
onNot(ContextVariant contextVariant, AgentConversationStyler style) → AgentConversationStyler
Creates a variant for when the context does NOT match the provided variant.
inherited
onPortrait(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for portrait device orientation.
inherited
onPressed(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for pressed state
inherited
onRtl(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for right-to-left text direction.
inherited
onTablet(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for tablet breakpoint.
inherited
onWeb(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for web platform.
inherited
onWindows(AgentConversationStyler style) → AgentConversationStyler
Creates a variant for Windows platform.
inherited
padding(EdgeInsetsGeometryMix<EdgeInsetsGeometry> value) → AgentConversationStyler
Sets the padding.
phaseAnimation<P>({Listenable? trigger, required List<P> phases, required AgentConversationStyler styleBuilder(P phase, AgentConversationStyler style), required CurveAnimationConfig configBuilder(P phase)}) → AgentConversationStyler
Creates a phase animation. It will animate through the given phases.
inherited
resolve(BuildContext context) → StyleSpec<AgentConversationSpec>
Resolves to StyleSpec<AgentConversationSpec> using context.
override
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringShort() → String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited
turn(BoxStyler value) → AgentConversationStyler
Sets the turn.
turnSpacing(double value) → AgentConversationStyler
Sets the turnSpacing.
variant(Variant variant, AgentConversationStyler style) → AgentConversationStyler
Must be implemented by the class using this mixin
inherited
variants(List<VariantStyle<AgentConversationSpec>> value) → AgentConversationStyler
Sets the style variants.
override
wrap(WidgetModifierConfig value) → AgentConversationStyler
Wraps with a widget modifier.
override

Operators

operator ==(Object other) → bool
Overrides the equality operator to compare based on the properties.
inherited