ElasticInOutCurve class Null safety
An oscillating curve that grows and then shrinks in magnitude while overshooting its bounds.
An instance of this class using the default period of 0.4 is available as Curves.elasticInOut.
- Inheritance
-
- Object
- ParametricCurve<
double> - Curve
- ElasticInOutCurve
Constructors
- ElasticInOutCurve([double period = 0.4])
-
Creates an elastic-in-out curve.
const
Properties
- flipped → Curve
-
Returns a new curve that is the reversed inversion of this one.
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- period → double
-
The duration of the oscillation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
transform(
double t) → double -
Returns the value of the curve at point
t
.inherited -
transformInternal(
double t) → double -
Returns the value of the curve at point
t
.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited