Dialog List Item
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.
is Alert
Determine whether the item text uses an error color. If it sets true
, the text color will be shown as an error color.
is Disabled
Determine whether to disable the item.