TransitionPhysics class abstract final

The spring a released interactive transition settles with, and whether a release closes the route.

Properties

hashCode → int
The hash code for this object.
no setterinherited
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.
inherited

Operators

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

Static Methods

commits({required double progress, required double velocity, required double distance, required double flingVelocity}) → bool
A fling faster than flingVelocity decides by its direction; a slow release closes past distance.
describe(Spring spring) → SpringDescription
settle(Spring spring, {required double from, required double to, required double velocity}) → Simulation