🌈 Create new beautiful Compose Gradients with our new wesite ->
Interface

PageInfo

This represents a single measured page in a Pager layout.

Source set: Common
public sealed interface PageInfo

This represents a single measured page in a Pager layout.

Properties

index

Source set: Common
public val index: Int

The index of this page.

key

Source set: Common
public val key: Any

The key of the page which was passed to the HorizontalPager or VerticalPager composables.

offset

Source set: Common
public val offset: Int

The main axis offset of the item in pixels. It is relative to the start of the Pager container.