DialogListItem

fun DialogListItem(@StringRes key: Int, @DrawableRes icon: Int = 0, isAlert: Boolean = false, isDisabled: Boolean = false)

Parameters

key

the resource identifier of the string resource to be displayed.

icon

Resource identifier of the icon Drawable.

isAlert

Determine whether the item text uses an error color. If it sets true, the text color will be shown as an error color.

isDisabled

Determine whether to disable the item.