Text
data class Text<T>(val key: T, val label: String, val interactionSource: MutableInteractionSource? = null) : SegmentedControlItem<T> (source)
A text item that can be displayed in a segmented control.
Parameters
T
The type of the key used to uniquely identify each item.