-
-
Save Ahmed-Sellami/83da72a8fb702e3156f8881ec0b1240e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var topTranslation by remember { mutableStateOf(0f) } | |
Canvas(modifier.size(radiusDp * 2)) { | |
translate(top = topTranslation) { | |
drawCircle( | |
color = color, | |
radius = radius | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment