weight
Function
Android
public fun CurvedModifier.weight(
    @FloatRange(from = 0.0, fromInclusive = false) weight: Float
): CurvedModifier
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). The
parent will divide the space remaining after measuring unweighted child elements and distribute
it according to this weight.
Parameters
| weight | The proportional size to give to this element, as related to the total of all weighted siblings. Must be positive. | 
Code Examples
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")
        }
    }
}
