fadeIn

@Stable
fun fadeIn(animationSpec: FiniteAnimationSpec<Float> = spring(stiffness = Spring.StiffnessMediumLow), initialAlpha: Float = 0.0f): EnterTransition

Fades the content in, from initialAlpha to full opacity.

Return

the enter transition.

Parameters

animationSpec

how the opacity travels, a medium-low stiffness spring by default.

initialAlpha

the opacity the content starts at, fully transparent 0f by default.