Google is committed to advancing racial equity for Black communities. See how.

SliderConstants

object SliderConstants
kotlin.Any
   ↳ androidx.compose.material.SliderConstants

Object to hold constants used by the Slider

Summary

Constants
const Float

Default alpha of the inactive part of the track

const Float

Default alpha of the ticks that are drawn on top of the track

Constants

InactiveTrackColorAlpha

const val InactiveTrackColorAlpha: Float

Default alpha of the inactive part of the track

Value: 0.24f

TickColorAlpha

const val TickColorAlpha: Float

Default alpha of the ticks that are drawn on top of the track

Value: 0.54f