SpringConfig class
Spring physics configuration for natural motion.
Constructors
- SpringConfig({double damping = 20.0, double stiffness = 180.0, double mass = 1.0})
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toSpringDescription(
) → SpringDescription - Convert to Flutter SpringDescription
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- bouncy → const SpringConfig
- Bouncy spring (low damping)
- gentle → const SpringConfig
- Gentle spring (low stiffness)
- ios → const SpringConfig
- Default iOS-like spring
- smooth → const SpringConfig
- Smooth spring (high damping)
- snappy → const SpringConfig
- Snappy spring (high stiffness)
- wobbly → const SpringConfig
- Wobbly spring (very low damping)