animateItem

fun Modifier.animateItem(animationType: Animations = Animations.Default, animatedProgressSpec: Int = 300, opacityAnimationSpec: Int = 600): Modifier

This is an extension of animations for list item modifiers

Parameters

animationType

in this parameter you have to pass a type of animation, by default this value is set to Default, you have the types of animations at Animations

animatedProgressSpec

complete duration of the animation Int

opacityAnimationSpec

complete duration of the animation Int