SpecAttribute<Value> class
abstract
An abstract class representing a resolvable attribute.
This class extends the StyleElement 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.
- Inheritance
-
- Object
- StyleElement
- SpecAttribute
- Implemented types
-
- Mixable<
Value>
- Mixable<
- Implementers
Constructors
- SpecAttribute({AnimatedDataDto? animated, WidgetModifiersDataDto? modifiers})
-
const
Properties
- animated → AnimatedDataDto?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mergeKey → Object
-
no setterinherited
- modifiers → WidgetModifiersDataDto?
-
final
-
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(
MixContext mix) → Value -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited