loloof64
04/22/2021, 8:40 AMComposable , is there a way to get the component size based on its given Modifier ?
I mean, given
@Composable
fun MyComposable(modifier: Modifier = Modifier){}
Is there a way to get the allocated width and height (inside MyComposable definition) ?Albert Chang
04/22/2021, 8:52 AMCanvas, Modifier.drawBehind, Modifier.drawWithContent, etc. Check DrawScope.