VerticalScrollbar

actual fun VerticalScrollbar(scrollState: LazyListState, modifier: Modifier)
actual fun VerticalScrollbar(scrollState: ScrollState, modifier: Modifier)
expect fun VerticalScrollbar(scrollState: LazyListState, modifier: Modifier = Modifier)

Renders a platform-appropriate vertical scrollbar bound to scrollState.

On Desktop JVM this renders a draggable vertical scrollbar styled for the current MaterialTheme; on mobile and web targets this is a no-op.

Parameters

scrollState

the LazyListState of the scrollable list.

modifier

a Modifier applied to the scrollbar.


expect fun VerticalScrollbar(scrollState: ScrollState, modifier: Modifier = Modifier)

Renders a platform-appropriate vertical scrollbar bound to scrollState.

On Desktop JVM this renders a draggable vertical scrollbar styled for the current MaterialTheme; on mobile and web targets this is a no-op.

Parameters

scrollState

the ScrollState of the scrollable container.

modifier

a Modifier applied to the scrollbar.

actual fun VerticalScrollbar(scrollState: ERROR CLASS: Symbol not found for LazyListState, modifier: ERROR CLASS: Symbol not found for Modifier)
actual fun VerticalScrollbar(scrollState: ERROR CLASS: Symbol not found for ScrollState, modifier: ERROR CLASS: Symbol not found for Modifier)
actual fun VerticalScrollbar(scrollState: LazyListState, modifier: Modifier)
actual fun VerticalScrollbar(scrollState: ScrollState, modifier: Modifier)
actual fun VerticalScrollbar(scrollState: LazyListState, modifier: Modifier)
actual fun VerticalScrollbar(scrollState: ScrollState, modifier: Modifier)