ScrollIndicatorColors

Class
Android
public class ScrollIndicatorColors(public val indicatorColor: Color, public val trackColor: Color)

Represents the indicator and track colors used in ScrollIndicator.

Parameters

indicatorColor Color used to draw the indicator of ScrollIndicator.
trackColor Color used to draw the track of ScrollIndicator.

Functions

public fun copy(
        indicatorColor: Color = this.indicatorColor,
        trackColor: Color = this.trackColor,
    ): ScrollIndicatorColors

Returns a copy of this ScrollIndicatorColors optionally overriding some of the values.

Parameters

indicatorColor Color used to draw the indicator of ScrollIndicator.
trackColor Color used to draw the track of ScrollIndicator.