@UnstableApi
object LiveButtonDefaults


Contains default values used by LiveButton.

Summary

Public functions

ButtonColors
@Composable
textButtonColors(contentColor: Color, disabledContentColor: Color)

Creates a ButtonColors that represents the default colors used in a LiveButton.

Public functions

textButtonColors

@Composable
fun textButtonColors(
    contentColor: Color = MaterialTheme.colorScheme.onSurfaceVariant,
    disabledContentColor: Color = Color.Red
): ButtonColors

Creates a ButtonColors that represents the default colors used in a LiveButton.

Parameters
contentColor: Color = MaterialTheme.colorScheme.onSurfaceVariant

The content color of the button when enabled (behind the live edge).

disabledContentColor: Color = Color.Red

The content color of the button when disabled (at the live edge).