ScalarKeyframe class
A ScalarKeyframe consists of a scalar value (e.g,: distance in meters) and an animation duration.
- Annotations
Constructors
- ScalarKeyframe(double value, Duration duration)
-
Constructs a ScalarKeyframe from the value and offset.
factory
Properties
- duration → Duration
-
Relative animation duration for reaching the keyframe value from previous keyframe value.
Negative duration value gets clamped to 0.
final
- hashCode → int
-
The hash code for this object.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → double
-
Scalar keyframe value.
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.