Class

LevelIndicatorColors

Represents the indicator and track colors used in LevelIndicator.

Source set: Android
public class LevelIndicatorColors(
    public val indicatorColor: Color,
    public val trackColor: Color,
    public val disabledIndicatorColor: Color,
    public val disabledTrackColor: Color,
)

Represents the indicator and track colors used in LevelIndicator.

Parameters

indicatorColor Color used to draw the indicator of LevelIndicator.
trackColor Color used to draw the track of LevelIndicator.
disabledIndicatorColor Color used to draw the indicator of LevelIndicator when it is not enabled.
disabledTrackColor Color used to draw the track of LevelIndicator when it is not enabled.

Functions

copy

Source set: Android
public fun copy(
        indicatorColor: Color = this.indicatorColor,
        trackColor: Color = this.trackColor,
        disabledIndicatorColor: Color = this.disabledIndicatorColor,
        disabledTrackColor: Color = this.disabledTrackColor,
    ): LevelIndicatorColors

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

Parameters

indicatorColor Color used to draw the indicator of LevelIndicator.
trackColor Color used to draw the track of LevelIndicator.
disabledIndicatorColor Color used to draw the indicator of LevelIndicator when it is not enabled.
disabledTrackColor Color used to draw the track of LevelIndicator when it is not enabled.

equals

Source set: Android
override fun equals(other: Any?): Boolean

hashCode

Source set: Android
override fun hashCode(): Int
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: