KmpSliderTickPosition

data class KmpSliderTickPosition(val offset: Dp = 0.dp, val alignment: KmpSliderAlignment = KmpSliderAlignment.End)

Parameters

offset

The offset from the specified alignment

alignment

The alignment of the tick

  • Start: The cross-axis end of the tick will align with the cross-axis start of the track.

  • Center: The cross-axis center of the tick will align with the cross-axis center of the track.

  • End: The cross-axis start of the tick will align with the cross-axis end of the track.

Constructors

Link copied to clipboard
constructor(offset: Dp = 0.dp, alignment: KmpSliderAlignment = KmpSliderAlignment.End)

Properties

Link copied to clipboard
Link copied to clipboard
val offset: Dp