TranslateAnimation class

🔥 fromX and toX translate the x axis 🔥 fromY and toY translate the y axis 🔥 fromZ and toZ translate the z axis

Inheritance

Constructors

TranslateAnimation.x(double from, [double to = 0])
const
TranslateAnimation.xy(double from, [double to = 0])
const
TranslateAnimation.xyz({required double fromY, double toX = 0, required double fromX, double toY = 0, required double fromZ, double toZ = 0})
const
TranslateAnimation.y(double from, [double to = 0])
const
TranslateAnimation.z(double from, [double to = 0])
const

Properties

fromX → double
final
fromY → double
final
fromZ → double
final
hashCode → int
The hash code for this object.
no setterinherited
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
toX → double
final
toY → double
final
toZ → double
final

Methods

handle(Matrix4 transform, double t) → void
override
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