ShowcaseItemWidth

sealed interface ShowcaseItemWidth

How wide each item of a ShowcaseRow is, which decides how much of the next item peeks in.

Inheritors

Types

Link copied to clipboard
data class Fixed(val width: Dp) : ShowcaseItemWidth

Each item is exactly width wide.

Link copied to clipboard
data class Peek(val visibleFraction: Float = DEFAULT_PEEK_FRACTION) : ShowcaseItemWidth

Each item takes visibleFraction of the row's usable width, so the next one peeks in at the end edge. 1f fills the row with no peek.

Link copied to clipboard
data object Wrap : ShowcaseItemWidth

Each item takes its own width.