toSpring

@Stable
fun <T> SpringEasingArgs.toSpring(visibilityThreshold: T? = null): SpringSpec<T>

Converts this SpringEasingArgs to a SpringSpec.

Return

A SpringSpec with the specified visibility threshold.

Parameters

T

The animated value type.

visibilityThreshold

Optional visibility threshold for the generated spring.