LazyFloatingItemList

fun LazyFloatingItemList(modifier: Modifier = Modifier, title: String? = null, state: LazyListState = rememberLazyListState(), contentPadding: PaddingValues = PaddingValues(0.dp), reverseLayout: Boolean = false, horizontalAlignment: Alignment.Horizontal = Alignment.Start, flingBehavior: FlingBehavior = ScrollableDefaults.flingBehavior(), userScrollEnabled: Boolean = true, content: LazyListScope.() -> Unit)

Draws a lazy floating list of items.

Uses a LazyColumn internally to only compose and lay out the items currently visible in the viewport.

Parameters

modifier
title

the title to show above the list or null.

state

the state object to be used to control or observe the list's state.

contentPadding

a padding around the whole content.

reverseLayout

reverse the direction of scroll and layout.

horizontalAlignment

the horizontal alignment applied to the items.

flingBehavior

logic describing fling behavior.

userScrollEnabled

whether the scrolling via user gestures is enabled.

content

a block which describes the content.