class ButtonColors


Represents the container and content colors used in buttons, such as textEdgeButton or iconEdgeButton.

Summary

Public constructors

ButtonColors(
    containerColor: LayoutColor,
    iconColor: LayoutColor,
    labelColor: LayoutColor,
    secondaryLabelColor: LayoutColor
)

Public properties

LayoutColor

The container color to be used for a button.

LayoutColor

The icon tint color to be used for a button.

LayoutColor

The label color to be used for a button.

LayoutColor

The secondary label color to be used for a button.

Public constructors

ButtonColors

Added in 1.3.0-alpha07
ButtonColors(
    containerColor: LayoutColor = Color.BLACK.argb,
    iconColor: LayoutColor = Color.BLACK.argb,
    labelColor: LayoutColor = Color.BLACK.argb,
    secondaryLabelColor: LayoutColor = Color.BLACK.argb
)

Public properties

containerColor

Added in 1.3.0-alpha07
val containerColorLayoutColor

The container color to be used for a button.

iconColor

Added in 1.3.0-alpha07
val iconColorLayoutColor

The icon tint color to be used for a button.

labelColor

Added in 1.3.0-alpha07
val labelColorLayoutColor

The label color to be used for a button.

secondaryLabelColor

Added in 1.3.0-alpha07
val secondaryLabelColorLayoutColor

The secondary label color to be used for a button.