public final class ButtonColors


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

Summary

Public constructors

ButtonColors(
    @NonNull LayoutColor containerColor,
    @NonNull LayoutColor iconColor,
    @NonNull LayoutColor labelColor,
    @NonNull LayoutColor secondaryLabelColor
)

Public methods

final @NonNull LayoutColor

The container color to be used for a button.

final @NonNull LayoutColor

The icon tint color to be used for a button.

final @NonNull LayoutColor

The label color to be used for a button.

final @NonNull LayoutColor

The secondary label color to be used for a button.

Public constructors

ButtonColors

Added in 1.3.0-alpha07
public ButtonColors(
    @NonNull LayoutColor containerColor,
    @NonNull LayoutColor iconColor,
    @NonNull LayoutColor labelColor,
    @NonNull LayoutColor secondaryLabelColor
)

Public methods

getContainerColor

Added in 1.3.0-alpha07
public final @NonNull LayoutColor getContainerColor()

The container color to be used for a button.

getIconColor

Added in 1.3.0-alpha07
public final @NonNull LayoutColor getIconColor()

The icon tint color to be used for a button.

getLabelColor

Added in 1.3.0-alpha07
public final @NonNull LayoutColor getLabelColor()

The label color to be used for a button.

getSecondaryLabelColor

Added in 1.3.0-alpha07
public final @NonNull LayoutColor getSecondaryLabelColor()

The secondary label color to be used for a button.