Tween class

Constructors

Tween(double from, double to, {double time = 1, double startFrom = 0, ParametricFunc curve = Parametrics.linear})

Properties

from double
final
hashCode int
The hash code for this object.
no setterinherited
isTweening bool
no setter
lastDirection TweenState?
no setter
parametric ParametricFunc
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
t double
getter/setter pair
to double
final
value double
no setter

Methods

backward({double startFrom = 1}) → void
changeTime(double time) → void
forward({double startFrom = 0}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stop({double? stopAt}) → void
toString() String
A string representation of this object.
inherited
update(double deltaTime) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited