FastScrollingTransformingLazyColumn

fun FastScrollingTransformingLazyColumn(state: TransformingLazyColumnState, headers: SnapshotStateList<HeaderInfo>, modifier: Modifier = Modifier, sectionIndictatorTopPadding: Dp = 0.dp, contentPadding: PaddingValues = PaddingValues(), content: TransformingLazyColumnScope.() -> Unit)

Modification of the TransformingLazyColumn that allows for fast scrolling to objects with headers. This is done by on navigation via RSB and scrolling to past a specific speed threshold, the list will begin scrolling directly to each section header instead of scrolling through each

Parameters

state

The scroll state of the list.

headers

The headers within the list, which includes the content of the header and the index. This is used by the FastScrollingTransformingLazyColumn to display a header over the given information and snap to the speicified header.