scrollIndicatorColors

Provide default ScrollIndicatorColors for ScrollIndicator

Return

default ScrollIndicatorColors


@Stable
@Composable
fun scrollIndicatorColors(trackColor: Color = Color.Unspecified, indicatorColor: Color = Color.Unspecified, scrollMarksColor: Color = Color.Unspecified, backgroundColor: Color = Color.Unspecified): ScrollIndicatorColors

Customize ScrollIndicatorColors used for ScrollIndicator.

Return

The new ScrollIndicatorColors instance with expected indicatorColor and backgroundColor.

Parameters

trackColor

The color of the track.

indicatorColor

The color of the indicator.

scrollMarksColor

The color of the scrollingMarks.

backgroundColor

The color of the background.