Trailing

data class Trailing(@DrawableRes val idRes: Int, @StringRes val contentDescription: Int? = null, val isTintable: Boolean, val onClick: () -> Unit? = null) : TextFieldIcon

Constructors

Link copied to clipboard
constructor(@DrawableRes idRes: Int, @StringRes contentDescription: Int? = null, isTintable: Boolean, onClick: () -> Unit? = null)

Properties

Link copied to clipboard
val contentDescription: Int? = null
Link copied to clipboard
val idRes: Int
Link copied to clipboard

If it is an icon that should be tinted to match the text the value should be true

Link copied to clipboard
val onClick: () -> Unit? = null