AgentAnswerStyler class

Inheritance
Implemented types

Properties

$actions → Prop<StyleSpec<FlexBoxSpec>>?
final
$animation → AnimationConfig?
finalinherited
$body → Prop<StyleSpec<BoxSpec>>?
final
$container → Prop<StyleSpec<FlexBoxSpec>>?
final
$feedback → Prop<StyleSpec<TextSpec>>?
final
$modifier → WidgetModifierConfig?
finalinherited
$sources → Prop<StyleSpec<BoxSpec>>?
final
$stylerFieldNames → Set<String>
Names of every field represented by the Styler's Mix.props.
no setteroverride
$text → Prop<StyleSpec<TextSpec>>?
final
$variants → List<VariantStyle<AgentAnswerSpec>>?
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

actions(FlexBoxStyler value) → AgentAnswerStyler
Sets the actions.
animate(AnimationConfig value) → AgentAnswerStyler
Sets the animation configuration.
override
applyVariants(Iterable<NamedVariant> variantsToApply) → AgentAnswerStyler
Applies the specified named variants by merging their styles into this style.
inherited
body(BoxStyler value) → AgentAnswerStyler
Sets the body.
build(BuildContext context, {Set<NamedVariant> namedVariants = const {}}) → StyleSpec<AgentAnswerSpec>
Builds the style into a fully resolved spec with metadata.
inherited
container(FlexBoxStyler value) → AgentAnswerStyler
Sets the container.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
feedback(TextStyler value) → AgentAnswerStyler
Sets the feedback.
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<AgentAnswerSpec, AgentAnswerStyler> styleBuilder}) → AgentAnswerStyler
Creates a keyframe animation. It will animate through the given timeline.
inherited
merge(covariant AgentAnswerStyler? other) → AgentAnswerStyler
Merges with another AgentAnswerStyler.
override
mergeActiveVariants(BuildContext context, {required Set<NamedVariant> namedVariants}) → Style<AgentAnswerSpec>
Merges all active variants with their nested variants recursively.
inherited
modifier(WidgetModifierConfig value) → AgentAnswerStyler
Sets the widget modifier.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onAndroid(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for Android platform.
inherited
onBreakpoint(Breakpoint breakpoint, AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant based on the specified breakpoint.
inherited
onBuilder(AgentAnswerStyler fn(BuildContext context)) → AgentAnswerStyler
Creates a variant using a builder function that receives the build context.
inherited
onDark(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for dark mode.
inherited
onDesktop(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for desktop breakpoint.
inherited
onDisabled(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for disabled state
inherited
onEnabled(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for enabled state (opposite of disabled)
inherited
onFocused(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for focused state.
inherited
onFocusVisible(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for focus that should show a focus indicator.
inherited
onFuchsia(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for Fuchsia platform.
inherited
onHovered(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for hover state
inherited
onIos(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for iOS platform.
inherited
onLandscape(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for landscape device orientation.
inherited
onLight(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for light mode.
inherited
onLinux(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for Linux platform.
inherited
onLtr(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for left-to-right text direction.
inherited
onMacos(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for macOS platform.
inherited
onMobile(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for mobile breakpoint.
inherited
onNot(ContextVariant contextVariant, AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for when the context does NOT match the provided variant.
inherited
onPortrait(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for portrait device orientation.
inherited
onPressed(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for pressed state
inherited
onRtl(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for right-to-left text direction.
inherited
onTablet(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for tablet breakpoint.
inherited
onWeb(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for web platform.
inherited
onWindows(AgentAnswerStyler style) → AgentAnswerStyler
Creates a variant for Windows platform.
inherited
phaseAnimation<P>({Listenable? trigger, required List<P> phases, required AgentAnswerStyler styleBuilder(P phase, AgentAnswerStyler style), required CurveAnimationConfig configBuilder(P phase)}) → AgentAnswerStyler
Creates a phase animation. It will animate through the given phases.
inherited
resolve(BuildContext context) → StyleSpec<AgentAnswerSpec>
Resolves to StyleSpec<AgentAnswerSpec> using context.
override
sources(BoxStyler value) → AgentAnswerStyler
Sets the sources.
text(TextStyler value) → AgentAnswerStyler
Sets the text.
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
variant(Variant variant, AgentAnswerStyler style) → AgentAnswerStyler
Must be implemented by the class using this mixin
inherited
variants(List<VariantStyle<AgentAnswerSpec>> value) → AgentAnswerStyler
Sets the style variants.
override
wrap(WidgetModifierConfig value) → AgentAnswerStyler
Wraps with a widget modifier.
override

Operators

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