ListItemDefaults

Contains the default values used by ListItem.

Since

0.6.0

Properties

Link copied to clipboard
val contentPadding: PaddingValues

The default content padding.

Link copied to clipboard

The default spacing between leading, content, and trailing slots.

Link copied to clipboard

The default minimum height of the list item.

Link copied to clipboard
val shape: Shape

The default shape for list items.

Functions

Link copied to clipboard
fun style(colors: Colors = StyleDefaults.colors(), borders: Borders = StyleDefaults.borders(), scale: Scale = StyleDefaults.scale(), shapes: Shapes = StyleDefaults.shapes(), alpha: Alpha = StyleDefaults.alpha()): Style

Creates a default Style for list items.