ChipSize

@JvmInline
value class ChipSize

size for Chip

Parameters

height

height of chip

Properties

Link copied to clipboard
val height: Dp

Functions

Link copied to clipboard

Calculates the content gap for a given ChipSize.

Link copied to clipboard
fun ChipSize.contentPadding(leading: Boolean = false): PaddingValues

Calculates the content padding for a given ChipSize.

Link copied to clipboard

Calculates the corner radius for a given ChipSize.

Link copied to clipboard

Calculates the icon size for a given ChipSize in RemovableChip.

Link copied to clipboard
fun ChipSize.removeChipPadding(leading: Boolean = false): PaddingValues

Calculates the padding for a given ChipSize in RemovableChip.

Link copied to clipboard
@Composable
fun ChipSize.textStyle(): TextStyle

Calculates the text style for a given ChipSize.