elevatedButtonColors

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


@Composable
fun elevatedButtonColors(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 an ElevatedButton.

Parameters

containerColor

the container color of this ElevatedButton when enabled

contentColor

the content color of this ElevatedButton when enabled

disabledContainerColor

the container color of this ElevatedButton when not enabled

disabledContentColor

the content color of this ElevatedButton when not enabled