Icon
data class Icon<T>(val key: T, @DrawableRes val resource: Int, val contentDescription: String?, val tint: Color? = null, val interactionSource: MutableInteractionSource? = null) : SegmentedControlItem<T> (source)
An icon item that can be displayed in a segmented control.
Parameters
T
The type of the key used to uniquely identify each item.
Constructors
Link copied to clipboard
constructor(key: T, @DrawableRes resource: Int, contentDescription: String?, tint: Color? = null, interactionSource: MutableInteractionSource? = null)