VerticalCardListState

class VerticalCardListState(val scrollState: ScrollState)

State object for VerticalCardList.

Use rememberVerticalCardListState to create an instance.

Parameters

scrollState

the scroll state for the list.

Constructors

Link copied to clipboard
constructor(scrollState: ScrollState)

Properties

Link copied to clipboard

Whether to animate spatial transitions (like sliding cards) when entering this screen. This should typically be set to true only when navigating directly between two list states.

Link copied to clipboard

The current display order of the cards, tracked by identifier.

Link copied to clipboard

The current Y position of the dragged card.

Link copied to clipboard

The identifier of the card currently being dragged, if any.

Link copied to clipboard

Whether a drag operation just ended.

Link copied to clipboard

The identifier of the last focused card, used to preserve animations across navigation.

Link copied to clipboard