Class

ScrollFieldColors

Represents the colors used by a ScrollField in different states.

Source set: Common
public class ScrollFieldColors(
    public val containerColor: Color,
    public val contentColor: Color,
    public val selectedContentColor: Color,
    public val disabledContainerColor: Color,
    public val disabledContentColor: Color,
    public val disabledSelectedContentColor: Color,
)

Represents the colors used by a ScrollField in different states.

Parameters

containerColor The color of the ScrollField container, when enabled.
contentColor The color of the numerical value(s) visible on the screen that are not chosen, when enabled.
selectedContentColor The color of the numerical value that is centered and snapped into place, when enabled.
disabledContainerColor The color of the ScrollField container, when disabled.
disabledContentColor The color of the numerical value(s) visible on the screen that are not chosen, when disabled.
disabledSelectedContentColor The color of the numerical value that is centered and snapped into place, when disabled.

Functions

copy

Source set: Common
public fun copy(
        containerColor: Color = this.containerColor,
        contentColor: Color = this.contentColor,
        selectedContentColor: Color = this.selectedContentColor,
        disabledContainerColor: Color = this.disabledContainerColor,
        disabledContentColor: Color = this.disabledContentColor,
        disabledSelectedContentColor: Color = this.disabledSelectedContentColor,
    ): ScrollFieldColors

Returns a copy of this ScrollFieldColors, optionally overriding some of the values. This uses the Color.Unspecified to mean “use the value from the source".

equals

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

hashCode

Source set: Common
override fun hashCode(): Int

Content updated: