ListOption

data class ListOption(val icon: IconSource? = null, val titleText: String, val subtitleText: String? = null, val selected: Boolean = false) : Serializable

An option for the the list dialog.

Parameters

icon

The icon displayed in the option.

titleText

The title displayed in the option.

subtitleText

The subtitle displayed in the option.

selected

The state if the option is selected by default.

Constructors

Link copied to clipboard
constructor(icon: IconSource? = null, titleText: String, subtitleText: String? = null, selected: Boolean = false)

Properties

Link copied to clipboard
val icon: IconSource? = null
Link copied to clipboard
val selected: Boolean = false
Link copied to clipboard
val subtitleText: String? = null
Link copied to clipboard