Expand description
Flutter counterpart: package:flutter/physics.dart.
Structs§
- Bounded
Friction Simulation - A
FrictionSimulationthat clamps the modeled particle to a specific range of values. - Clamped
Simulation - A simulation that applies limits to another simulation.
- Friction
Simulation - A simulation that applies a drag to slow a particle down.
- Gravity
Simulation - A simulation that applies a constant accelerating force.
- Scroll
Spring Simulation - A
SpringSimulationwhere the value ofxis guaranteed to have exactly the end value when the simulationis_done. - Spring
Description - Structure that describes a spring’s constants.
- Spring
Simulation - A spring simulation.
- Tolerance
- Structure that specifies maximum allowable magnitudes for distances, durations, and velocity differences to be considered equal.
Enums§
- Spring
Type - The kind of spring solution that the
SpringSimulationis using to simulate the spring.
Traits§
- Simulation
- The base class for all simulations.
Functions§
- near_
equal - Whether two doubles are within a given distance of each other.
- near_
zero - Whether a double is within a given distance of zero.