SpecAttribute<Value> class
abstract
An abstract class representing a resolvable attribute.
This class extends the StyledAttribute class and provides a generic type Self and Value.
The Self type represents the concrete implementation of the attribute, while the Value type represents the resolvable value.
Constructors
- SpecAttribute({AnimatedDataDto? animated})
-
const
Properties
- animated → AnimatedDataDto?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Methods
-
getDiff(
EqualityMixin other) → Map< String, String> -
inherited
-
merge(
covariant SpecAttribute< Value> ? other) → SpecAttribute<Value> -
Merges this object with
other, returning a new object of typeT.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
MixData mix) → Value -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited