Is there something like iOS's <segmented control> ...
# compose
r
Is there something like iOS's segmented control for having a screen with 2 or 3 "modes" that you want to switch between at the top?
z
r
Nice, thanks!
z
(But no, i don’t think anything exists in the material library, and idk about third-party libraries)
r
You mentioned a little bug in the comments. It seems skipping index 0 in the Dividers fixes it.
z
yep easy to fix
r
iOS does unequal segment widths, to keep text on one line. That looks like it will be a bit trickier.