Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@Composable
fun MainScreen() {
Navigator(FirstScreen()) { navigator ->
FadeTransition(navigator)
// ^ Fade transition will be applied to all destination change
// within this Navigator.
// For custom behavior use ScreenTransition() that'll give you
// initialState & targetState so you can chain multiple animations.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment