remoteSpring
Source set: Android
public fun remoteSpring(
stiffness: Float = 50f,
dampingRatio: Float = 1f,
stopThreshold: Float = 0.001f,
boundaryMode: Int = 0,
): RemoteAnimationSpec
Creates a RemoteAnimationSpec for physics-based spring animations.
Parameters
| stiffness | Spring stiffness. |
| dampingRatio | Damping ratio (1.0 = no bounce, < 1.0 = bouncy). |
| stopThreshold | Threshold for stopping velocity/displacement. |
| boundaryMode | Boundary mode for the spring. |