AnimationChannelSpec class
One animation channel: a keyframe timeline driving one property of one target node.
Binds to its target by stable id (target); targetName is retained as a clone-friendly fallback and for readable merges.
Constructors
-
AnimationChannelSpec({required LocalId target, String? targetName, required AnimationProperty property, required LocalId timeline, required LocalId keyframes, Map<
String, Object?> unknown = const {}}) -
Creates a channel driving
propertyoftarget.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- keyframes → LocalId
-
The binary chunk of keyframe values.
final
- property → AnimationProperty
-
Which transform channel this drives.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- target → LocalId
-
The node this channel animates (primary, id-based binding).
final
- targetName → String?
-
The target node's name (fallback binding, for clones and merges).
final
- timeline → LocalId
-
The binary chunk of keyframe times (seconds).
final
-
unknown
→ Map<
String, Object?> -
Keys this build of the engine does not recognize, kept verbatim so a
document written by a newer engine or an extension survives a load and
save unchanged.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited