Omkar Amberkar
09/28/2023, 5:26 PMAnimatedVisibility(
modifier = modifier,
visible = isVisible,
enter = slideInVertically(initialOffsetY = { fullHeight -> fullHeight }) +
fadeIn(tween(fadeInFadeOutTweenDuration), initialAlpha),
exit = slideOutVertically(targetOffsetY = { fullHeight -> fullHeight }) +
fadeOut(tween(fadeInFadeOutTweenDuration)),
content = content
)
Travis Griggs
09/28/2023, 11:15 PMenter = slideInHorizontally(initialOffsetX = { w -> w }) + expandHorizontally(expandFrom = Alignment.End),
exit = slideOutHorizontally(targetOffsetX = { w -> w }) + shrinkHorizontally(shrinkTowards = Alignment.End)