ScrollItemIndex

@Immutable
@Serializable
class ScrollItemIndex(val id: Int, val index: Int, val animated: Boolean = false)

Parameters

id

Should only be used to trigger recompositions.

Constructors

Link copied to clipboard
constructor(id: Int, index: Int, animated: Boolean = false)

Properties

Link copied to clipboard
val animated: Boolean = false

True to smoothly scroll to the new position.

Link copied to clipboard
val id: Int
Link copied to clipboard
val index: Int