ElasticInOutCurve class

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

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.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
period double
The duration of the oscillation.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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