BearingTween class Null safety

A tween with a angle values.

Inheritance
Available Extensions

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. [...]
read / write, override
end double
The value this variable has at the end of the animation. [...]
read / write, override
hashCode int
The hash code for this object. [...]
read-only, inherited
interpolator IInterpolationServiceOptimized<double>
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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. [...]
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 non-existent 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