Function

weight

Size the element's proportional to its [weight] relative to other weighted sibling elements in the container (this will be the height in a [curvedColumn] and the width in a [curvedRow]).

CurvedWeight

@Composable
fun CurvedWeight() {
    CurvedLayout(modifier = Modifier.fillMaxSize().background(Color.White)) {
        // Evenly spread A, B & C in a 90 degree angle.
        curvedRow(modifier = CurvedModifier.angularSize(90f)) {
            basicCurvedText("A")
            curvedRow(modifier = CurvedModifier.weight(1f)) {}
            basicCurvedText("B")
            curvedRow(modifier = CurvedModifier.weight(1f)) {}
            basicCurvedText("C")
        }
    }
}