Omkar Amberkar
09/18/2023, 5:24 PMAnimatedVisibility(
modifier = modifier,
visible = isVisible,
enter = slideInVertically(initialOffsetY = { fullHeight -> fullHeight }) +
fadeIn(tween(fadeInFadeOutTweenDuration), initialAlpha),
exit = slideOutVertically(targetOffsetY = { fullHeight -> fullHeight }) +
fadeOut(tween(fadeInFadeOutTweenDuration)),
content = content
)