Skip to content

animateInt

@Composable



fun animateInt(targetValue: Int, spec: AnimationSpec = AnimationSpec()): Int

Animates an integer by interpolating as float and rounding to the nearest pixel.