public final class ButtonColors


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

Summary

Public constructors

ButtonColors(
    @NonNull LayoutColor container,
    @NonNull LayoutColor icon,
    @NonNull LayoutColor label
)

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.

Public constructors

ButtonColors

Added in 1.3.0-alpha06
public ButtonColors(
    @NonNull LayoutColor container,
    @NonNull LayoutColor icon,
    @NonNull LayoutColor label
)

Public methods

getContainer

Added in 1.3.0-alpha06
public final @NonNull LayoutColor getContainer()

The container color to be used for a button.

getIcon

Added in 1.3.0-alpha06
public final @NonNull LayoutColor getIcon()

The icon tint color to be used for a button.

getLabel

Added in 1.3.0-alpha06
public final @NonNull LayoutColor getLabel()

The label color to be used for a button.