LegendItem

constructor(icon: Component, label: TextComponent, labelText: CharSequence)

Parameters

icon

the Component used as the item’s icon.

label

the TextComponent used for the label.

labelText

the text content of the label.