https://kotlinlang.org logo
#compose
Title
# compose
r

redrield

11/08/2020, 5:59 AM
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

jim

11/08/2020, 6:09 AM
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
4 Views