AgentConversationStyler class
- Inheritance
-
- Implemented types
-
Constructors
-
AgentConversationStyler({BoxStyler? container, BoxStyler? turn, double? maxWidth, EdgeInsetsGeometryMix<EdgeInsetsGeometry>? padding, double? turnSpacing, double? blockSpacing, BoxStyler? latest, BoxStyler? empty, AnimationConfig? animation, WidgetModifierConfig? modifier, List<VariantStyle<AgentConversationSpec>>? variants})
-
-
AgentConversationStyler.blockSpacing(double value)
-
factory
-
AgentConversationStyler.container(BoxStyler value)
-
factory
-
AgentConversationStyler.create({Prop<StyleSpec<BoxSpec>>? container, Prop<StyleSpec<BoxSpec>>? turn, Prop<double>? maxWidth, Prop<EdgeInsetsGeometry>? padding, Prop<double>? turnSpacing, Prop<double>? blockSpacing, Prop<StyleSpec<BoxSpec>>? latest, Prop<StyleSpec<BoxSpec>>? empty, List<VariantStyle<AgentConversationSpec>>? variants, WidgetModifierConfig? modifier, AnimationConfig? animation})
-
const
-
AgentConversationStyler.empty(BoxStyler value)
-
factory
-
AgentConversationStyler.latest(BoxStyler value)
-
factory
-
AgentConversationStyler.maxWidth(double value)
-
factory
-
AgentConversationStyler.padding(EdgeInsetsGeometryMix<EdgeInsetsGeometry> value)
-
factory
-
AgentConversationStyler.turn(BoxStyler value)
-
factory
-
AgentConversationStyler.turnSpacing(double value)
-
factory
-
AgentConversationStyler.wrap(WidgetModifierConfig value)
-
factory
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