mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2026-03-12 13:22:23 +00:00
generate docs for a lot of API (test try)
This commit is contained in:
@@ -2,6 +2,16 @@ package dev.inmo.micro_utils.android.pickers
|
||||
|
||||
import androidx.compose.animation.core.*
|
||||
|
||||
/**
|
||||
* Performs a fling animation with an optional target adjustment.
|
||||
* If [adjustTarget] is provided, animates to the adjusted target. Otherwise, performs a decay animation.
|
||||
*
|
||||
* @param initialVelocity The initial velocity of the fling
|
||||
* @param animationSpec The decay animation specification
|
||||
* @param adjustTarget Optional function to adjust the target value based on the calculated target
|
||||
* @param block Optional block to be executed during the animation
|
||||
* @return The result of the animation
|
||||
*/
|
||||
internal suspend fun Animatable<Float, AnimationVector1D>.fling(
|
||||
initialVelocity: Float,
|
||||
animationSpec: DecayAnimationSpec<Float>,
|
||||
|
||||
Reference in New Issue
Block a user