AgentSourcesSpec class final
Resolved visual properties for AgentSources.
Every slot is empty by default; presets supply the look.
- Implemented types
- Annotations
-
- @MixableSpec.new()
- @immutable
Constructors
-
AgentSourcesSpec({StyleSpec<
FlexBoxSpec> ? trigger, StyleSpec<IconSpec> ? icon, StyleSpec<TextSpec> ? label, StyleSpec<IconSpec> ? indicator, StyleSpec<WrapBoxSpec> ? list, StyleSpec<BoxSpec> ? source, StyleSpec<TextSpec> ? sourceLabel}) -
Creates a spec; every slot defaults to empty.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
icon
→ StyleSpec<
IconSpec> -
The line's leading glyph.
final
-
indicator
→ StyleSpec<
IconSpec> -
The glyph that shows whether the list is open.
final
-
label
→ StyleSpec<
TextSpec> -
The line's text.
final
-
list
→ StyleSpec<
WrapBoxSpec> -
The list of sources.
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
-
source
→ StyleSpec<
BoxSpec> -
A source that is not a button.
final
-
sourceLabel
→ StyleSpec<
TextSpec> -
The title of a source that is not a button.
final
- stringify → bool
-
Whether to use a detailed string representation of the object.
no setterinherited
-
trigger
→ StyleSpec<
FlexBoxSpec> -
The line: glyph, label and indicator.
final
- type → Type
-
no setterinherited
Methods
-
copyWith(
{StyleSpec< FlexBoxSpec> ? trigger, StyleSpec<IconSpec> ? icon, StyleSpec<TextSpec> ? label, StyleSpec<IconSpec> ? indicator, StyleSpec<WrapBoxSpec> ? list, StyleSpec<BoxSpec> ? source, StyleSpec<TextSpec> ? sourceLabel}) → AgentSourcesSpec -
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 AgentSourcesSpec? other, double t) → AgentSourcesSpec -
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