InlineSliderColors


@ExperimentalWearMaterial3Api
class InlineSliderColors


Represents the background and content colors used in InlineSlider in different states.

Summary

Public constructors

InlineSliderColors(
    containerColor: Color,
    buttonIconColor: Color,
    selectedBarColor: Color,
    unselectedBarColor: Color,
    barSeparatorColor: Color,
    disabledContainerColor: Color,
    disabledButtonIconColor: Color,
    disabledSelectedBarColor: Color,
    disabledUnselectedBarColor: Color,
    disabledBarSeparatorColor: Color
)

create an instance with arbitrary colors.

Public functions

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

Public properties

Color

The color of separator between visible segments when enabled.

Color

The color of the icon of buttons when enabled.

Color

The background color of this InlineSlider when enabled.

Color

The color of separator between visible segments when disabled.

Color

The color of the icon of buttons when disabled.

Color

The background color of this InlineSlider when disabled.

Color

The color of the progress bar when disabled.

Color

The background color of the progress bar when disabled.

Color

The color of the progress bar when enabled.

Color

The background color of the progress bar when enabled.

Public constructors

InlineSliderColors

InlineSliderColors(
    containerColor: Color,
    buttonIconColor: Color,
    selectedBarColor: Color,
    unselectedBarColor: Color,
    barSeparatorColor: Color,
    disabledContainerColor: Color,
    disabledButtonIconColor: Color,
    disabledSelectedBarColor: Color,
    disabledUnselectedBarColor: Color,
    disabledBarSeparatorColor: Color
)

create an instance with arbitrary colors. See InlineSliderDefaults.colors for the default implementation that follows Material specifications.

Parameters
containerColor: Color

The background color of this InlineSlider when enabled.

buttonIconColor: Color

The color of the icon of buttons when enabled.

selectedBarColor: Color

The color of the progress bar when enabled.

unselectedBarColor: Color

The background color of the progress bar when enabled.

barSeparatorColor: Color

The color of separator between visible segments when enabled.

disabledContainerColor: Color

The background color of this InlineSlider when disabled.

disabledButtonIconColor: Color

The color of the icon of buttons when disabled.

disabledSelectedBarColor: Color

The color of the progress bar when disabled.

disabledUnselectedBarColor: Color

The background color of the progress bar when disabled.

disabledBarSeparatorColor: Color

The color of separator between visible segments when disabled.

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

barSeparatorColor

Added in 1.0.0-alpha21
val barSeparatorColorColor

The color of separator between visible segments when enabled.

buttonIconColor

Added in 1.0.0-alpha21
val buttonIconColorColor

The color of the icon of buttons when enabled.

containerColor

Added in 1.0.0-alpha21
val containerColorColor

The background color of this InlineSlider when enabled.

disabledBarSeparatorColor

Added in 1.0.0-alpha21
val disabledBarSeparatorColorColor

The color of separator between visible segments when disabled.

disabledButtonIconColor

Added in 1.0.0-alpha21
val disabledButtonIconColorColor

The color of the icon of buttons when disabled.

disabledContainerColor

Added in 1.0.0-alpha21
val disabledContainerColorColor

The background color of this InlineSlider when disabled.

disabledSelectedBarColor

Added in 1.0.0-alpha21
val disabledSelectedBarColorColor

The color of the progress bar when disabled.

disabledUnselectedBarColor

Added in 1.0.0-alpha21
val disabledUnselectedBarColorColor

The background color of the progress bar when disabled.

selectedBarColor

Added in 1.0.0-alpha21
val selectedBarColorColor

The color of the progress bar when enabled.

unselectedBarColor

Added in 1.0.0-alpha21
val unselectedBarColorColor

The background color of the progress bar when enabled.