OnFlingEnd

typealias OnFlingEnd = (endReason: AnimationEndReason, endValue: Float, remainingVelocity: Float) -> Unit
androidx.animation.OnFlingEnd

Typealias for lambda that will be invoked when fling animation ends. Unlike AnimatedValue.animateTo onEnd, this lambda includes 3rd param remainingVelocity, that represents velocity that wasn't consumed after fling finishes.

Summary