Skip to content

Instantly share code, notes, and snippets.

@victorbrndls
Created November 1, 2022 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save victorbrndls/a3af216ac6c48f993ca36e9d345ef592 to your computer and use it in GitHub Desktop.
Save victorbrndls/a3af216ac6c48f993ca36e9d345ef592 to your computer and use it in GitHub Desktop.
layout(
width = constraints.maxWidth,
height = mainText.height
) {
mainText.place(offset, 0)
secondPlaceableWithOffset?.let {
it.first.place(it.second, 0)
}
gradient?.place(0, 0)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment