ChipSpecUtility<T extends Attribute> class

Utility class for configuring ChipSpec properties.

This class provides methods to set individual properties of a ChipSpec. Use the methods of this class to configure specific properties of a ChipSpec.

Constructors

ChipSpecUtility(T builder(ChipSpecAttribute), {bool mutable = false})

Properties

animated → AnimatedUtility<T>
Utility for defining ChipSpecAttribute.animated
latefinal
attributeBuilder → T Function(ChipSpecAttribute)
finalinherited
attributeValue ↔ T?
getter/setter pairinherited
chain ChipSpecUtility<T>
no setter
container → FlexBoxSpecUtility<T>
Utility for defining ChipSpecAttribute.container
latefinal
hashCode int
The hash code for this object.
no setterinherited
icon → IconSpecUtility<T>
Utility for defining ChipSpecAttribute.icon
latefinal
label → TextSpecUtility<T>
Utility for defining ChipSpecAttribute.label
latefinal
mergeKey Object
no setterinherited
props List<Object?>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool
no setterinherited
wrap → SpecModifierUtility<T>
Utility for defining ChipSpecAttribute.modifiers
latefinal

Methods

builder(ChipSpecAttribute v) → T
inherited
getDiff(EqualityMixin other) Map<String, String>
inherited
merge(covariant SpecUtility<T, ChipSpecAttribute> other) → SpecUtility<T, ChipSpecAttribute>
Merges this object with other, returning a new object of type T.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
only({FlexBoxSpecAttribute? container, IconSpecAttribute? icon, TextSpecAttribute? label, WidgetModifiersDataDto? modifiers, AnimatedDataDto? animated}) → T
Returns a new ChipSpecAttribute with the specified properties.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

self ChipSpecUtility<ChipSpecAttribute>
no setter