Skip to content

Instantly share code, notes, and snippets.

@zurche
Created June 21, 2023 20:26
Show Gist options
  • Save zurche/e20ddff24b0dda07a720994586dcb4a8 to your computer and use it in GitHub Desktop.
Save zurche/e20ddff24b0dda07a720994586dcb4a8 to your computer and use it in GitHub Desktop.
Animating enter animation
var visible by remember { mutableStateOf(false) }
LaunchedEffect(Unit) {
delay(300)
visible = true
}
AnimatedVisibility(
visible = visible,
enter = fadeIn() + slideInVertically { fullHeight -> fullHeight },
) {
CryptoCardContent(data, textColor)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment