ListOption

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

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.