iconButtonColors

@Composable
fun iconButtonColors(containerColor: Color = Color.Unspecified, contentColor: Color = Color.Unspecified): ButtonColors

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

Return

The new ButtonColors with expected container color and content color.

Parameters

containerColor

the container color of this IconButton when enabled.

contentColor

the content color of this IconButton when enabled.


@Composable
fun iconButtonColors(): ButtonColors

Default ButtonColors for IconButton follow PicoTheme

Return

The new ButtonColors with given colors.