buttonColors

@Composable
fun buttonColors(): ButtonColors

Creates a ButtonColors that represents the default container and content colors used in a Button.


@Composable
fun buttonColors(containerColor: Color = Color.Unspecified, contentColor: Color = Color.Unspecified, disabledContainerColor: Color = Color.Unspecified, disabledContentColor: Color = Color.Unspecified): ButtonColors

Creates a ButtonColors that represents the default container and content colors used in a Button.

Parameters

containerColor

the container color of this Button when enabled.

contentColor

the content color of this Button when enabled.

disabledContainerColor

the container color of this Button when not enabled.

disabledContentColor

the content color of this Button when not enabled.