itemShape

@Composable
@ReadOnlyComposable
fun itemShape(index: Int, count: Int, baseShape: CornerBasedShape = this.baseShape): Shape

A shape constructor that the button in index should have when there are count buttons in the container.

Parameters

index

the index for this button in the row

count

the count of buttons in this row

baseShape

the CornerBasedShape the base shape that should be used in buttons that are not in the start or the end.