DualButtonParams

data class DualButtonParams(@DrawableRes val iconResource: Int, val contentDescription: String, val enabled: Boolean = true, val interactionSource: MutableInteractionSource? = null)

Data class for DualButton content.

Constructors

Link copied to clipboard
constructor(@DrawableRes iconResource: Int, contentDescription: String, enabled: Boolean = true, interactionSource: MutableInteractionSource? = null)

Properties

Link copied to clipboard

Text used by accessibility services to describe what the icon represents or its action.

Link copied to clipboard
val enabled: Boolean = true

Controls the enabled state of the button. When false, this button will not be clickable.

Link copied to clipboard

Drawable resource to be used in the button.

Link copied to clipboard

The interaction source to be used for the button. If not provided, a new one will be created.