Daniele Segato
01/27/2023, 8:21 AMModifier.offset
but I was wondering if there was a way to define the expanded state as a regular composable instead of having each satellite-button on top of each other and offsetting them outwards with Modifier.offset
.
I'm not trying to realize this widget, I'm just looking into learning if there is some way of achieving this "escape boundaries" behavior and if yes how.
Thank youAlbert Chang
01/27/2023, 8:24 AMModifier.wrapContentSize(unbounded = true)
Daniele Segato
01/27/2023, 8:42 AMmaxSize
provided from outside but it still change the size of the widget from outsideAlbert Chang
01/27/2023, 8:44 AMDaniele Segato
01/27/2023, 8:45 AMAlbert Chang
01/27/2023, 8:46 AMModifier
.size(48.dp)
.wrapContentSize(unbounded = true)
.size(128.dp)
Daniele Segato
01/27/2023, 8:46 AMModifier.matchParentSize()
.wrapContentSize(unbounded = true)
thanks