MotionKey class
One keyframe. value is a double or a Color per the owning track's kind;
curve is one of Curves (null = linear); paramRef is
provenance — which motion parameter fed the value. The reference is the
stronger of the two: an edit to the key moves the parameter's default
(reconcileMotionBindings), and a save always spells the reference.
Constructors
- MotionKey({required Duration at, required Object value, SceneCurve? curve, String? paramRef})
Properties
- at ↔ Duration
-
getter/setter pair
- curve ↔ SceneCurve?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Runtime identity. A key has no name, so nothing on disk carries this —
but the timeline must hold a selection while keys are dragged past one
another (which re-sorts the list) and across an undo (which restores
values into the same objects), and an index cannot do that.
final
- paramRef ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ Object
-
getter/setter pair
Methods
-
copy(
) → MotionKey -
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