InterpolationController class

Constructors

InterpolationController({required double begin, required double end})
const

Properties

begin double
final
end double
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

linear(double x, {required double begin, required double end}) double
It applies the Linear Interpolation formula [click to read more about it](https://www.cuemath.com/linear-interpolation-formula/) It can be used to create animations example: F(x) = y0 + ((y1 - y0) / (x1 - x0)) * (x - x0);
linearClamped(double x, {required double begin, required double end}) double
The same as linear() but it applies clamp() function in the result
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