A layout composable that arranges its children in a curved horizontal sequence.
SimpleSpatialCurvedRowSample
@Composable
public fun SimpleSpatialCurvedRowSample() {
Subspace {
SpatialCurvedRow(
curveRadius = 300.dp,
verticalAlignment = SpatialAlignment.CenterVertically,
horizontalArrangement = SpatialArrangement.Center,
) {
SpatialPanel(SubspaceModifier.weight(0.3f)) { Text("Left Panel") }
SpatialPanel(SubspaceModifier.weight(0.3f)) { Text("Center Panel") }
SpatialPanel(SubspaceModifier.weight(0.3f)) { Text("Right Panel") }
}
}
}