Is there a composable for a material toggle button...
# compose
r
Is there a composable for a material toggle button in compose stdlibs? (ie mutually exclusive button group sharing a container)
No, Material's idea of a toggle button is broader than that: https://www.material.io/components/buttons#toggle-button
j
You can probably take a look at the implementations of both
RadioButton
and
IconToggleButton
, should be pretty easy to combine them to create what you're looking for.
👍 1