GTweenLerpProp<T> class

Base class representing a property to be animated by GTween.

Implementers

Constructors

GTweenLerpProp({GTweenSetProp<T>? setProp, GTweenGetProp<T>? getProp})
Constructor for a GTweenLerpProp instance.

Properties

from ↔ T?
The starting value of the property to be tweened.
getter/setter pair
getProp GTweenGetProp<T>?
Getter function to retrieve the current value of the property.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The name of the property to be tweened.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setProp GTweenSetProp<T>?
Setter function to apply the tweened value to the target object.
getter/setter pair
to ↔ T?
The target value of the property to be tweened.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(double ratio) → T?
Given a ratio between 0 and 1, calculates the interpolated value of the property being animated and returns it.
toString() String
A string representation of this object.
inherited

Operators

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