SelectOptionList

Builder-style class for constructing a list of SelectOptions.

Example usage:

val options = SelectOptionList()
.option("To Do", Color.DEFAULT)
.option("In Progress", Color.YELLOW)
.option("Done", Color.GREEN)

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun option(name: String, color: Color): SelectOptionList

Adds a new SelectOption to the list with the given name and color. The option's ID will be set to the name by default.