tween

@Stable
fun <T> tween(durationMillis: Int = AnimationConstants.DefaultDurationMillis, delayMillis: Int = 0, easing: Easing = FastOutSlowInEasing): TweenSpec<T>

Creates a TweenSpec configured with the given duration, delay and easing curve.

Parameters

durationMillis

duration of the animation spec

delayMillis

the amount of time in milliseconds that animation waits before starting

easing

the easing curve that will be used to interpolate between start and end