Icon
constructor(key: T, @DrawableRes resource: Int, contentDescription: String?, tint: Color? = null, interactionSource: MutableInteractionSource? = null)
Parameters
key
Unique identifier for each item in the group list.
resource
The resource id of the icon to be displayed.
contentDescription
The content description of the icon.
tint
The tint of the icon. If not provided, the default text color will be used.
interactionSource
The interaction source for the item.