Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@Preview
@Composable
fun DrawSquare() {
Canvas(modifier = Modifier.size(200.dp)) {
drawRect(
color = Color.Red,
size = size
)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment