AgentToolCallStyler class
- Inheritance
-
- Object
- Mixable<
StyleSpec< AgentToolCallSpec> > - Mix<
StyleSpec< AgentToolCallSpec> > - Style<
AgentToolCallSpec> - MixStyler<
AgentToolCallStyler, AgentToolCallSpec> - AgentToolCallStyler
- Implemented types
- Available extensions
Constructors
-
AgentToolCallStyler({FlexBoxStyler? row, IconStyler? icon, TextStyler? summary, TextStyler? meta, TextStyler? toolId, FlexBoxStyler? status, IconStyler? statusIcon, TextStyler? statusLabel, IconStyler? indicator, BoxStyler? output, double? outputMaxHeight, FlexBoxStyler? outputToggle, TextStyler? outputToggleLabel, BoxStyler? outputContent, TextStyler? outputText, BoxStyler? error, TextStyler? errorText, BoxStyler? card, FlexBoxStyler? cardBody, BoxStyler? cardIcon, IconStyler? cardGlyph, FlexBoxStyler? cardContent, FlexBoxStyler? cardHeading, FlexBoxStyler? cardTitleRow, TextStyler? title, TextStyler? description, AnimationConfig? animation, WidgetModifierConfig? modifier, List<
VariantStyle< ? variants})AgentToolCallSpec> > - AgentToolCallStyler.card(BoxStyler value)
-
factory
- AgentToolCallStyler.cardBody(FlexBoxStyler value)
-
factory
- AgentToolCallStyler.cardContent(FlexBoxStyler value)
-
factory
- AgentToolCallStyler.cardGlyph(IconStyler value)
-
factory
- AgentToolCallStyler.cardHeading(FlexBoxStyler value)
-
factory
- AgentToolCallStyler.cardIcon(BoxStyler value)
-
factory
- AgentToolCallStyler.cardTitleRow(FlexBoxStyler value)
-
factory
-
AgentToolCallStyler.create({Prop<
StyleSpec< ? row, Prop<FlexBoxSpec> >StyleSpec< ? icon, Prop<IconSpec> >StyleSpec< ? summary, Prop<TextSpec> >StyleSpec< ? meta, Prop<TextSpec> >StyleSpec< ? toolId, Prop<TextSpec> >StyleSpec< ? status, Prop<FlexBoxSpec> >StyleSpec< ? statusIcon, Prop<IconSpec> >StyleSpec< ? statusLabel, Prop<TextSpec> >StyleSpec< ? indicator, Prop<IconSpec> >StyleSpec< ? output, Prop<BoxSpec> >double> ? outputMaxHeight, Prop<StyleSpec< ? outputToggle, Prop<FlexBoxSpec> >StyleSpec< ? outputToggleLabel, Prop<TextSpec> >StyleSpec< ? outputContent, Prop<BoxSpec> >StyleSpec< ? outputText, Prop<TextSpec> >StyleSpec< ? error, Prop<BoxSpec> >StyleSpec< ? errorText, Prop<TextSpec> >StyleSpec< ? card, Prop<BoxSpec> >StyleSpec< ? cardBody, Prop<FlexBoxSpec> >StyleSpec< ? cardIcon, Prop<BoxSpec> >StyleSpec< ? cardGlyph, Prop<IconSpec> >StyleSpec< ? cardContent, Prop<FlexBoxSpec> >StyleSpec< ? cardHeading, Prop<FlexBoxSpec> >StyleSpec< ? cardTitleRow, Prop<FlexBoxSpec> >StyleSpec< ? title, Prop<TextSpec> >StyleSpec< ? description, List<TextSpec> >VariantStyle< ? variants, WidgetModifierConfig? modifier, AnimationConfig? animation})AgentToolCallSpec> > -
const
- AgentToolCallStyler.description(TextStyler value)
-
factory
- AgentToolCallStyler.error(BoxStyler value)
-
factory
- AgentToolCallStyler.errorText(TextStyler value)
-
factory
-
factory
- AgentToolCallStyler.icon(IconStyler value)
-
factory
- AgentToolCallStyler.indicator(IconStyler value)
-
factory
- AgentToolCallStyler.meta(TextStyler value)
-
factory
- AgentToolCallStyler.output(BoxStyler value)
-
factory
- AgentToolCallStyler.outputContent(BoxStyler value)
-
factory
- AgentToolCallStyler.outputMaxHeight(double value)
-
factory
- AgentToolCallStyler.outputText(TextStyler value)
-
factory
- AgentToolCallStyler.outputToggle(FlexBoxStyler value)
-
factory
- AgentToolCallStyler.outputToggleLabel(TextStyler value)
-
factory
- AgentToolCallStyler.row(FlexBoxStyler value)
-
factory
- AgentToolCallStyler.status(FlexBoxStyler value)
-
factory
- AgentToolCallStyler.statusIcon(IconStyler value)
-
factory
- AgentToolCallStyler.statusLabel(TextStyler value)
-
factory
- AgentToolCallStyler.summary(TextStyler value)
-
factory
- AgentToolCallStyler.title(TextStyler value)
-
factory
- AgentToolCallStyler.toolId(TextStyler value)
-
factory
- AgentToolCallStyler.wrap(WidgetModifierConfig value)
-
factory
Properties
- $animation → AnimationConfig?
-
finalinherited
-
$card
→ Prop<
StyleSpec< ?BoxSpec> > -
final
-
$cardBody
→ Prop<
StyleSpec< ?FlexBoxSpec> > -
final
-
$cardContent
→ Prop<
StyleSpec< ?FlexBoxSpec> > -
final
-
$cardGlyph
→ Prop<
StyleSpec< ?IconSpec> > -
final
-
$cardHeading
→ Prop<
StyleSpec< ?FlexBoxSpec> > -
final
-
$cardIcon
→ Prop<
StyleSpec< ?BoxSpec> > -
final
-
$cardTitleRow
→ Prop<
StyleSpec< ?FlexBoxSpec> > -
final
-
$description
→ Prop<
StyleSpec< ?TextSpec> > -
final
-
$error
→ Prop<
StyleSpec< ?BoxSpec> > -
final
-
$errorText
→ Prop<
StyleSpec< ?TextSpec> > -
final
-
final
-
$icon
→ Prop<
StyleSpec< ?IconSpec> > -
final
-
$indicator
→ Prop<
StyleSpec< ?IconSpec> > -
final
-
$meta
→ Prop<
StyleSpec< ?TextSpec> > -
final
- $modifier → WidgetModifierConfig?
-
finalinherited
-
$output
→ Prop<
StyleSpec< ?BoxSpec> > -
final
-
$outputContent
→ Prop<
StyleSpec< ?BoxSpec> > -
final
-
$outputMaxHeight
→ Prop<
double> ? -
final
-
$outputText
→ Prop<
StyleSpec< ?TextSpec> > -
final
-
$outputToggle
→ Prop<
StyleSpec< ?FlexBoxSpec> > -
final
-
$outputToggleLabel
→ Prop<
StyleSpec< ?TextSpec> > -
final
-
$row
→ Prop<
StyleSpec< ?FlexBoxSpec> > -
final
-
$status
→ Prop<
StyleSpec< ?FlexBoxSpec> > -
final
-
$statusIcon
→ Prop<
StyleSpec< ?IconSpec> > -
final
-
$statusLabel
→ Prop<
StyleSpec< ?TextSpec> > -
final
-
$stylerFieldNames
→ Set<
String> -
Names of every field represented by the Styler's Mix.props.
no setteroverride
-
$summary
→ Prop<
StyleSpec< ?TextSpec> > -
final
-
$title
→ Prop<
StyleSpec< ?TextSpec> > -
final
-
$toolId
→ Prop<
StyleSpec< ?TextSpec> > -
final
-
$variants
→ List<
VariantStyle< ?AgentToolCallSpec> > -
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) → AgentToolCallStyler -
Sets the animation configuration.
override
-
applyVariants(
Iterable< NamedVariant> variantsToApply) → AgentToolCallStyler -
Applies the specified named variants by merging their styles into this style.
inherited
-
build(
BuildContext context, {Set< NamedVariant> namedVariants = const {}}) → StyleSpec<AgentToolCallSpec> -
Builds the style into a fully resolved spec with metadata.
inherited
-
card(
BoxStyler value) → AgentToolCallStyler - Sets the card.
-
cardBody(
FlexBoxStyler value) → AgentToolCallStyler - Sets the cardBody.
-
cardContent(
FlexBoxStyler value) → AgentToolCallStyler - Sets the cardContent.
-
cardGlyph(
IconStyler value) → AgentToolCallStyler - Sets the cardGlyph.
-
cardHeading(
FlexBoxStyler value) → AgentToolCallStyler - Sets the cardHeading.
-
cardIcon(
BoxStyler value) → AgentToolCallStyler - Sets the cardIcon.
-
cardTitleRow(
FlexBoxStyler value) → AgentToolCallStyler - Sets the cardTitleRow.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
description(
TextStyler value) → AgentToolCallStyler - Sets the description.
-
error(
BoxStyler value) → AgentToolCallStyler - Sets the error.
-
errorText(
TextStyler value) → AgentToolCallStyler - Sets the errorText.
- Sets the footer.
-
getDiff(
Equatable other) → Map< String, String> -
Returns a map of properties that differ between this object and another.
inherited
-
icon(
IconStyler value) → AgentToolCallStyler - Sets the icon.
-
indicator(
IconStyler value) → AgentToolCallStyler - Sets the indicator.
-
keyframeAnimation(
{Listenable? trigger, required List< KeyframeTrack> timeline, required KeyframeStyleBuilder<AgentToolCallSpec, AgentToolCallStyler> styleBuilder}) → AgentToolCallStyler -
Creates a keyframe animation. It will animate through the given timeline.
inherited
-
merge(
covariant AgentToolCallStyler? other) → AgentToolCallStyler -
Merges with another AgentToolCallStyler.
override
-
mergeActiveVariants(
BuildContext context, {required Set< NamedVariant> namedVariants}) → Style<AgentToolCallSpec> -
Merges all active variants with their nested variants recursively.
inherited
-
meta(
TextStyler value) → AgentToolCallStyler - Sets the meta.
-
modifier(
WidgetModifierConfig value) → AgentToolCallStyler - Sets the widget modifier.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onAndroid(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for Android platform.
inherited
-
onBreakpoint(
Breakpoint breakpoint, AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant based on the specified breakpoint.
inherited
-
onBuilder(
AgentToolCallStyler fn(BuildContext context)) → AgentToolCallStyler -
Creates a variant using a builder function that receives the build context.
inherited
-
onDark(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for dark mode.
inherited
-
onDesktop(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for desktop breakpoint.
inherited
-
onDisabled(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for disabled state
inherited
-
onEnabled(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for enabled state (opposite of disabled)
inherited
-
onFocused(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for focused state.
inherited
-
onFocusVisible(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for focus that should show a focus indicator.
inherited
-
onFuchsia(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for Fuchsia platform.
inherited
-
onHovered(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for hover state
inherited
-
onIos(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for iOS platform.
inherited
-
onLandscape(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for landscape device orientation.
inherited
-
onLight(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for light mode.
inherited
-
onLinux(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for Linux platform.
inherited
-
onLtr(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for left-to-right text direction.
inherited
-
onMacos(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for macOS platform.
inherited
-
onMobile(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for mobile breakpoint.
inherited
-
onNot(
ContextVariant contextVariant, AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for when the context does NOT match the provided variant.
inherited
-
onPortrait(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for portrait device orientation.
inherited
-
onPressed(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for pressed state
inherited
-
onRtl(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for right-to-left text direction.
inherited
-
onStatus(
AgentToolCallStatus status, AgentToolCallStyler value) → AgentToolCallStyler -
Available on AgentToolCallStyler, provided by the AgentToolCallStylerStatus extension
Appliesvaluewhile the call is instatus. -
onTablet(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for tablet breakpoint.
inherited
-
onWeb(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for web platform.
inherited
-
onWindows(
AgentToolCallStyler style) → AgentToolCallStyler -
Creates a variant for Windows platform.
inherited
-
output(
BoxStyler value) → AgentToolCallStyler - Sets the output.
-
outputContent(
BoxStyler value) → AgentToolCallStyler - Sets the outputContent.
-
outputMaxHeight(
double value) → AgentToolCallStyler - Sets the outputMaxHeight.
-
outputText(
TextStyler value) → AgentToolCallStyler - Sets the outputText.
-
outputToggle(
FlexBoxStyler value) → AgentToolCallStyler - Sets the outputToggle.
-
outputToggleLabel(
TextStyler value) → AgentToolCallStyler - Sets the outputToggleLabel.
-
phaseAnimation<
P> ({Listenable? trigger, required List< P> phases, required AgentToolCallStyler styleBuilder(P phase, AgentToolCallStyler style), required CurveAnimationConfig configBuilder(P phase)}) → AgentToolCallStyler -
Creates a phase animation. It will animate through the given phases.
inherited
-
resolve(
BuildContext context) → StyleSpec< AgentToolCallSpec> -
Resolves to StyleSpec<AgentToolCallSpec> using
context.override -
row(
FlexBoxStyler value) → AgentToolCallStyler - Sets the row.
-
status(
FlexBoxStyler value) → AgentToolCallStyler - Sets the status.
-
statusIcon(
IconStyler value) → AgentToolCallStyler - Sets the statusIcon.
-
statusLabel(
TextStyler value) → AgentToolCallStyler - Sets the statusLabel.
-
summary(
TextStyler value) → AgentToolCallStyler - Sets the summary.
-
title(
TextStyler value) → AgentToolCallStyler - Sets the title.
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toolId(
TextStyler value) → AgentToolCallStyler - Sets the toolId.
-
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, AgentToolCallStyler style) → AgentToolCallStyler -
Must be implemented by the class using this mixin
inherited
-
variants(
List< VariantStyle< value) → AgentToolCallStylerAgentToolCallSpec> > -
Sets the style variants.
override
-
wrap(
WidgetModifierConfig value) → AgentToolCallStyler -
Wraps with a widget modifier.
override
Operators
-
operator ==(
Object other) → bool -
Overrides the equality operator to compare based on the properties.
inherited