public static class EdgeButtonDefaults


Summary

Public fields

static @NonNull EdgeButtonDefaults

Public methods

final @NonNull EdgeButtonColors

EdgeButtonColors for the high-emphasis button representing the primary, most important or most common action on a screen.

final @NonNull EdgeButtonColors

EdgeButtonColors for the medium-emphasis button.

final @NonNull EdgeButtonColors

Alternative EdgeButtonColors for the high-emphasis button.

Public fields

INSTANCE

Added in 1.3.0-alpha02
public static @NonNull EdgeButtonDefaults INSTANCE

Public methods

filled

Added in 1.3.0-alpha02
public final @NonNull EdgeButtonColors filled(@NonNull MaterialScope receiver)

EdgeButtonColors for the high-emphasis button representing the primary, most important or most common action on a screen.

These colors are using ColorTokens.PRIMARY for background color and ColorTokens.ON_PRIMARY for content color.

filledTonal

Added in 1.3.0-alpha02
public final @NonNull EdgeButtonColors filledTonal(@NonNull MaterialScope receiver)

EdgeButtonColors for the medium-emphasis button.

These colors are using ColorTokens.SURFACE_CONTAINER for background color and ColorTokens.ON_SURFACE for content color.

filledVariant

Added in 1.3.0-alpha02
public final @NonNull EdgeButtonColors filledVariant(@NonNull MaterialScope receiver)

Alternative EdgeButtonColors for the high-emphasis button.

These colors are using ColorTokens.PRIMARY_CONTAINER for background color and ColorTokens.ON_PRIMARY_CONTAINER for content color.