Package 

Object SeekerDefaults

    • Method Summary

      Modifier and Type Method Description
      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.
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 enabled
        disabledThumbColor - 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.