Created
June 21, 2023 20:26
-
-
Save zurche/e20ddff24b0dda07a720994586dcb4a8 to your computer and use it in GitHub Desktop.
Animating enter animation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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