SelectableLazyColumn

@Composable
fun SelectableLazyColumn(modifier: Modifier = Modifier, state: SelectableLazyListState = rememberSelectableLazyListState(selectionMode = SelectionMode.Multiple), contentPadding: PaddingValues = PaddingValues(0.dp), reverseLayout: Boolean = false, verticalArrangement: Arrangement.Vertical = if (!reverseLayout) Arrangement.Top else Arrangement.Bottom, horizontalAlignment: Alignment.Horizontal = Alignment.Start, flingBehavior: FlingBehavior = ScrollableDefaults.flingBehavior(), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, keyActions: KeyBindingScopedActions = DefaultSelectableLazyColumnKeyActions(state), pointerHandlingScopedActions: PointerEventScopedActions = DefaultSelectableLazyColumnPointerEventAction(state), content: SelectableLazyListScope.() -> Unit)

A composable that displays a scrollable and selectable list of items in a column arrangement.

Parameters

modifier

The modifier to apply to this layout.

state

The state object that holds the state information for the selectable lazy column.

contentPadding

The padding to be applied to the content of the column.

reverseLayout

Whether the items should be laid out in reverse order.

verticalArrangement

The vertical arrangement strategy for laying out the items.

horizontalAlignment

The horizontal alignment strategy for laying out the items.

flingBehavior

The fling behavior for scrolling.

interactionSource

The interaction source for handling user input events.

keyActions

The key binding actions for handling keyboard events.

pointerHandlingScopedActions

The pointer event actions for handling pointer events.

content

The content of the selectable lazy column, specified as a lambda function with a SelectableLazyListScope receiver.