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-alpha04
public static @NonNull EdgeButtonDefaults INSTANCE

Public methods

filled

Added in 1.3.0-alpha04
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 ColorScheme.primary for background color and ColorScheme.onPrimary for content color.

filledTonal

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

EdgeButtonColors for the medium-emphasis button.

These colors are using ColorScheme.surfaceContainer for background color and ColorScheme.onSurface for content color.

filledVariant

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

Alternative EdgeButtonColors for the high-emphasis button.

These colors are using ColorScheme.primaryContainer for background color and ColorScheme.primaryContainer for content color.