Package-level declarations

Types

Link copied to clipboard
class PagesPerScreen(val amount: Int) : PageSize

Defines a PageSize that shows amount pages on the screen at all times. The size of pages will be changed to always show amount pages.

Functions

Link copied to clipboard

Adds an item that spans the whole row of this grid.

Link copied to clipboard

Calculate absolute offset for current page page.

Link copied to clipboard
fun Modifier.scalePagerEffect(state: PagerState, index: Int, scaleFactor: Float = DefaultPagerScaleFactor): Modifier

Applies a scale effect when scrolling through pages.

Link copied to clipboard
fun Modifier.spinPagerEffect(state: PagerState, index: Int, maxRotationDeg: Float = MaxRotationDegrees): Modifier

Applies a "spin" (rotate) effect when scrolling through pages.