AttractSettle class

Settle via critically-damped SpringSimulation — attractor pulls rect to target (force ∝ displacement). Starts slow, accelerates, lands smoothly with no overshoot. stiffness controls snap speed; damping is auto-tuned to critical.

Inheritance

Constructors

AttractSettle({double stiffness = 200})
const

Properties

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
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
simulationAt({required double position, required double velocity, required double target}) Simulation
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited