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.
Constructors
- AttractSettle({double stiffness = 200})
-
const
Properties
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