ScrollIndicatorColors

class ScrollIndicatorColors


Represents the indicator and track colors used in ScrollIndicator.

Summary

Public constructors

ScrollIndicatorColors(indicatorColor: Color, trackColor: Color)

Public functions

ScrollIndicatorColors
copy(indicatorColor: Color, trackColor: Color)

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

open operator Boolean
equals(other: Any?)
open Int

Public properties

Color

Color used to draw the indicator of ScrollIndicator.

Color

Color used to draw the track of ScrollIndicator.

Public constructors

ScrollIndicatorColors

ScrollIndicatorColors(indicatorColor: Color, trackColor: Color)
Parameters
indicatorColor: Color

Color used to draw the indicator of ScrollIndicator.

trackColor: Color

Color used to draw the track of ScrollIndicator.

Public functions

copy

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 = this.indicatorColor

Color used to draw the indicator of ScrollIndicator.

trackColor: Color = this.trackColor

Color used to draw the track of ScrollIndicator.

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

indicatorColor

Added in 1.0.0-alpha33
val indicatorColorColor

Color used to draw the indicator of ScrollIndicator.

trackColor

Added in 1.0.0-alpha33
val trackColorColor

Color used to draw the track of ScrollIndicator.