SegmentedControlItem
Types
Link copied to clipboard
data class Icon<T>(val key: T, @DrawableRes val resource: Int, val contentDescription: String?, val tint: Color? = null, val interactionSource: MutableInteractionSource? = null) : SegmentedControlItem<T>
An icon item that can be displayed in a segmented control.
Link copied to clipboard
data class Text<T>(val key: T, val label: String, val interactionSource: MutableInteractionSource? = null) : SegmentedControlItem<T>
A text item that can be displayed in a segmented control.