textButtonColors

@Composable
fun textButtonColors(): ButtonColors

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


@Composable
fun textButtonColors(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 TextButton.

Parameters

containerColor

the container color of this TextButton when enabled

contentColor

the content color of this TextButton when enabled

disabledContainerColor

the container color of this TextButton when not enabled

disabledContentColor

the content color of this TextButton when not enabled