ListItemDefaults

Contains the default values used by list items.

Properties

Link copied to clipboard
@get:Composable
@get:ReadOnlyComposable
val containerColor: Color

The container color of a list item

Link copied to clipboard
@get:Composable
@get:ReadOnlyComposable
val contentColor: Color

The content color of a list item

Link copied to clipboard
val Elevation: Dp

The default elevation of a list item

Link copied to clipboard
@get:Composable
@get:ReadOnlyComposable
val shape: Shape

The default shape of a list item

Functions

Link copied to clipboard
@Composable
fun colors(): ListItemColors
@Composable
fun colors(containerColor: Color = Color.Unspecified, headlineColor: Color = Color.Unspecified, leadingIconColor: Color = Color.Unspecified, overlineColor: Color = Color.Unspecified, supportingColor: Color = Color.Unspecified, trailingIconColor: Color = Color.Unspecified, disabledHeadlineColor: Color = Color.Unspecified, disabledLeadingIconColor: Color = Color.Unspecified, disabledTrailingIconColor: Color = Color.Unspecified): ListItemColors

Creates a ListItemColors that represents the default container and content colors used in a ListItem.