yschimke
12/20/2021, 10:43 AMyschimke
12/20/2021, 10:45 AMJohn Nichol
12/20/2021, 12:17 PMJohn Nichol
12/20/2021, 12:18 PMJohn Nichol
12/20/2021, 12:21 PMyschimke
12/20/2021, 12:24 PMAdam Powell
12/20/2021, 3:31 PMyschimke
12/20/2021, 3:42 PMThe items are laid out in a row with the optional icon at the start, a column containing the two label slots in the middle and a slot for the toggle icons at the end.
yschimke
12/23/2021, 10:44 AMdocument what that layout contract isI noticed that almost all Material elements that do this expose BoxScope, RowScope or Column scope. I suspect that ToggleChip should probably have this also. Currently
label: @Composable () -> Unit
yschimke
01/11/2022, 12:49 PM(@Composable CurvedRowScope.() -> Unit)?
but linear just has (@Composable () -> Unit)? = null
yschimke
01/11/2022, 12:50 PM