IconButtonDefaults

Holding IconButton default values.

Properties

Link copied to clipboard

A pre-defined size of IconButton

Link copied to clipboard

A pre-defined size of IconButton

Link copied to clipboard

A pre-defined size of IconButton

Link copied to clipboard

A pre-defined size of IconButton

Functions

Link copied to clipboard
@Composable
fun iconButtonColors(): ButtonColors

Default ButtonColors for IconButton follow PicoTheme

@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.

Link copied to clipboard
fun iconButtonSize(size: Dp): ButtonSize
fun iconButtonSize(width: Dp, height: Dp): ButtonSize

Creates a ButtonSize that presents sizes used by IconButton

Link copied to clipboard

Default ButtonVibrants for IconButton follow PicoTheme

@Composable
fun iconButtonVibrants(containerVibrant: Vibrant = Vibrant.Unspecified, contentVibrant: Vibrant = Vibrant.Unspecified): ButtonVibrants

Creates a ButtonVibrants that represents the default container and content vibrants used in an IconButton.