Skip to content

Instantly share code, notes, and snippets.

@KaustubhPatange
Created June 5, 2022 05:52
Show Gist options
  • Save KaustubhPatange/cb5cbc7562a581fef9b1e84045693b13 to your computer and use it in GitHub Desktop.
Save KaustubhPatange/cb5cbc7562a581fef9b1e84045693b13 to your computer and use it in GitHub Desktop.
@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