Vertical Scroll Bar
fun VerticalScrollBar(adapter: ScrollBarAdapter, modifier: Modifier = Modifier, reverseLayout: Boolean = false, trackPadding: PaddingValues = PaddingValues(0.dp), colors: ScrollBarColors = ScrollBarDefaults.scrollBarColors(), thumbWidth: Dp = ScrollBarDefaults.ThumbWidth, cornerRadius: Dp = ScrollBarDefaults.CornerRadius, thumbMinLength: Dp = ScrollBarDefaults.ThumbMinLength, endPadding: Dp = ScrollBarDefaults.EndPadding)
A vertical scrollbar.
Parameters
adapter
ScrollBarAdapter that communicates with the scrollable component.
modifier
The modifier to apply to this layout.
reverse Layout
Reverse the direction of scrolling and layout.
track Padding
Padding applied to the track to skip content padding areas.
colors
The colors of the scrollbar.
thumb Width
The width of the thumb.
corner Radius
The corner radius. Dp.Unspecified defaults to half of thumbWidth.
thumb Min Length
The minimum length of the thumb.
end Padding
The padding from the end edge.