InterpolationController class
Constructors
- InterpolationController({required double begin, required double end})
-
const
Properties
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 appliesclamp()
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