Class

InteractiveScrollbarColors

Represents the colors used by an interactive scrollbar in different interaction states.

Source set: Common
public class InteractiveScrollbarColors(
    public val thumbColor: Color,
    public val hoveredThumbColor: Color,
    public val pressedThumbColor: Color,
    public val draggedThumbColor: Color,
    public val trackColor: Color,
)

Represents the colors used by an interactive scrollbar in different interaction states.

Parameters

thumbColor the default color of the scrollbar thumb when idle.
hoveredThumbColor the color of the scrollbar thumb when hovered.
pressedThumbColor the color of the scrollbar thumb when pressed.
draggedThumbColor the color of the scrollbar thumb when actively dragged.
trackColor the color of the scrollbar track.

Functions

copy

Source set: Common
public fun copy(
        thumbColor: Color = this.thumbColor,
        hoveredThumbColor: Color = this.hoveredThumbColor,
        pressedThumbColor: Color = this.pressedThumbColor,
        draggedThumbColor: Color = this.draggedThumbColor,
        trackColor: Color = this.trackColor,
    ): InteractiveScrollbarColors

Returns a copy of this InteractiveScrollbarColors, optionally overriding some of the values.

equals

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

hashCode

Source set: Common
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: