Skip to content

Instantly share code, notes, and snippets.

@maiatoday
Created May 26, 2022 19:45
Show Gist options
  • Save maiatoday/fdf85bd6e9f210a8d316a0171637fbe7 to your computer and use it in GitHub Desktop.
Save maiatoday/fdf85bd6e9f210a8d316a0171637fbe7 to your computer and use it in GitHub Desktop.
Using the Confetti modifier
Box(modifier = Modifier
.background(Color.Black)
.fillMaxSize()
.confetti()
) {
Text("Hello World", color = Color.Red)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment