AvatarSpecAttribute class
Represents the attributes of a AvatarSpec.
This class encapsulates properties defining the layout and appearance of a AvatarSpec.
Use this class to configure the attributes of a AvatarSpec and pass it to the AvatarSpec constructor.
Constructors
- AvatarSpecAttribute({BoxSpecAttribute? container, ImageSpecAttribute? image, TextSpecAttribute? fallback, StackSpecAttribute? stack, AnimatedDataDto? animated})
-
const
Properties
- animated → AnimatedDataDto?
-
finalinherited
- container → BoxSpecAttribute?
-
final
- fallback → TextSpecAttribute?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- image → ImageSpecAttribute?
-
final
- mergeKey → Object
-
no setterinherited
- modifiers → WidgetModifiersDataDto?
-
finalinherited
-
props
→ List<
Object?> -
The list of properties that constitute the state of this AvatarSpecAttribute.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stack → StackSpecAttribute?
-
final
- stringify → bool
-
no setterinherited
Methods
-
getDiff(
EqualityMixin other) → Map< String, String> -
inherited
-
merge(
covariant AvatarSpecAttribute? other) → AvatarSpecAttribute -
Merges the properties of this AvatarSpecAttribute with the properties of
other. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
MixData mix) → AvatarSpec -
Resolves to AvatarSpec using the provided
MixData. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited