AvatarSpecUtility<T extends Attribute> class

Utility class for configuring AvatarSpec properties.

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

Constructors

AvatarSpecUtility(T builder(AvatarSpecAttribute), {bool mutable = false})

Properties

animated → AnimatedUtility<T>
Utility for defining AvatarSpecAttribute.animated
latefinal
attributeBuilder → T Function(AvatarSpecAttribute)
finalinherited
attributeValue ↔ T?
getter/setter pairinherited
chain AvatarSpecUtility<T>
no setter
container → BoxSpecUtility<T>
Utility for defining AvatarSpecAttribute.container
latefinal
fallback → TextSpecUtility<T>
Utility for defining AvatarSpecAttribute.fallback
latefinal
hashCode int
The hash code for this object.
no setterinherited
image → ImageSpecUtility<T>
Utility for defining AvatarSpecAttribute.image
latefinal
mergeKey Object
no setterinherited
props List<Object?>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stack → StackSpecUtility<T>
Utility for defining AvatarSpecAttribute.stack
latefinal
stringify bool
no setterinherited

Methods

builder(AvatarSpecAttribute v) → T
inherited
getDiff(EqualityMixin other) Map<String, String>
inherited
merge(covariant SpecUtility<T, AvatarSpecAttribute> other) → SpecUtility<T, AvatarSpecAttribute>
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({BoxSpecAttribute? container, ImageSpecAttribute? image, TextSpecAttribute? fallback, StackSpecAttribute? stack, AnimatedDataDto? animated}) → T
Returns a new AvatarSpecAttribute 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 AvatarSpecUtility<AvatarSpecAttribute>
no setter