BearingTween class
A tween with a angle values.
- Inheritance
-
- Object
- Animatable<
double> - Tween<
double> - BearingTween
Constructors
-
BearingTween({required IInterpolationServiceOptimized<
double> interpolator}) - Create a tween that calculate angle bearing/heading from given begin and end angle positions.
- BearingTween.from(LocationTween tween)
-
factory
Properties
- begin ↔ double?
-
The value this variable has at the beginning of the animation.
getter/setter pairoverride
- end ↔ double
-
The value this variable has at the end of the animation.
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setterinherited
-
interpolator
→ IInterpolationServiceOptimized<
double> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
animate(
Animation< double> parent) → Animation<double> -
Returns a new Animation that is driven by the given animation but that
takes on values determined by this object.
inherited
-
chain(
Animatable< double> parent) → Animatable<double> -
Returns a new Animatable whose value is determined by first evaluating
the given parent and then evaluating this object at the result.
inherited
-
evaluate(
Animation< double> animation) → double -
The current value of this object for the given Animation.
inherited
-
lerp(
double t) → double -
Interpolates two angles at the given (t) position at timeline.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
transform(
double t) → double -
Returns interpolated angles for the current position (t) on timeline.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited