AgentConversationSpec class final
Resolved visual properties for an AgentConversation.
Every slot is empty by default; presets supply the look.
- Implemented types
- Annotations
-
- @MixableSpec.new()
- @immutable
Constructors
Properties
- blockSpacing → double?
-
The space between the blocks of an AgentTurn.
final
-
container
→ StyleSpec<
BoxSpec> -
The transcript's frame.
final
-
empty
→ StyleSpec<
BoxSpec> -
Wraps AgentConversation.empty.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
latest
→ StyleSpec<
BoxSpec> -
Places the way back to the latest output over the transcript's bottom
edge.
final
- maxWidth → double?
-
The widest a turn grows; turns center in a wider transcript.
final
- padding → EdgeInsetsGeometry?
-
The space around the turns, inside the scrolling area.
final
-
props
→ List<
Object?> -
The properties based on which equality and hash code are computed.
no setterinherited
- 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
-
turn
→ StyleSpec<
BoxSpec> -
Wraps each turn.
final
- turnSpacing → double?
-
The space between turns.
final
- type → Type
-
no setterinherited
Methods
-
copyWith(
{StyleSpec< BoxSpec> ? container, StyleSpec<BoxSpec> ? turn, double? maxWidth, EdgeInsetsGeometry? padding, double? turnSpacing, double? blockSpacing, StyleSpec<BoxSpec> ? latest, StyleSpec<BoxSpec> ? empty}) → AgentConversationSpec -
Creates a copy of this spec with the given fields
replaced by the non-null parameter values.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
getDiff(
Equatable other) → Map< String, String> -
Returns a map of properties that differ between this object and another.
inherited
-
lerp(
covariant AgentConversationSpec? other, double t) → AgentConversationSpec -
Linearly interpolates with another Spec object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited