ScrollIndicatorColors

Class

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

Represents the indicator and track colors used in ScrollIndicator.

Parameters

indicatorColorColor used to draw the indicator of ScrollIndicator.
trackColorColor 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

indicatorColorColor used to draw the indicator of ScrollIndicator.
trackColorColor used to draw the track of ScrollIndicator.