FloatingItemList

fun FloatingItemList(modifier: Modifier = Modifier, title: String? = null, content: @Composable ColumnScope.() -> Unit)

Draws a floating list of items.

The list will be displayed in a list in a floating box with rounded corners.

See FloatingItemHeadingAndText, FloatingItemText, FloatingItemCenteredText for things that are normally used inside this container. For your own composable, simply wrap it in FloatingItemContainer.

The list is rendered to appear raised above the parent container. When using this composable, make sure to leave 10.dp padding around it and 20.dp at the bottom, to leave enough room for its shadow.

Parameters

modifier
title

the title to show above the list or null.

content

the items to show inside the list.