-
public class SeekerDefaults
-
-
Field Summary
Fields Modifier and Type Field Description public final static SeekerDefaultsINSTANCE
-
Method Summary
Modifier and Type Method Description final SeekerColorsseekerColors(Color progressColor, Color trackColor, Color disabledProgressColor, Color disabledTrackColor, Color thumbColor, Color disabledThumbColor, Color readAheadColor)Creates a SeekerColors that represents the different colors used in parts of the Seeker in different states. final SeekerDimensionsseekerDimensions(Dp trackHeight, Dp progressHeight, Dp thumbRadius, Dp gap)Creates a SeekerDimensions which represents dimension of different parts of Seeker in different states. -
-
Method Detail
-
seekerColors
@Composable() final SeekerColors seekerColors(Color progressColor, Color trackColor, Color disabledProgressColor, Color disabledTrackColor, Color thumbColor, Color disabledThumbColor, Color readAheadColor)
Creates a SeekerColors that represents the different colors used in parts of the Seeker in different states.
- Parameters:
progressColor- color of the progress indicator.trackColor- color of the track.disabledProgressColor- color of the progress indicator when the Slider is disabled.disabledTrackColor- color of the track when theSlider is disabled.thumbColor- thumb color when enableddisabledThumbColor- thumb color when disabled.readAheadColor- color of the read ahead indicator.
-
seekerDimensions
@Composable() final SeekerDimensions seekerDimensions(Dp trackHeight, Dp progressHeight, Dp thumbRadius, Dp gap)
Creates a SeekerDimensions which represents dimension of different parts of Seeker in different states.
- Parameters:
trackHeight- height of the track.progressHeight- height of the progress indicator.thumbRadius- radius of the thumb slider.gap- gap between two segments in the track.
-
-
-
-