SpringToken class final
A spring, as Compose's spring(dampingRatio, stiffness) takes it.
Constructors
- SpringToken({required double dampingRatio, required double stiffness})
-
A spring of
dampingRatioandstiffness.const
Properties
- dampingRatio → double
-
The damping ratio: 1 settles without overshoot, below 1 overshoots.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stiffness → double
-
The stiffness, in Compose's units.
final
Methods
-
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