PagerProgressButtons

fun PagerProgressButtons(pagerState: PagerState, prevButtonContentDescription: String?, nextButtonContentDescription: String?, modifier: Modifier = Modifier, buttonColours: ButtonColours = DefaultButtonColours, disabledButtonColours: ButtonColours? = disabledModeButtonColours(buttonColours), pageSlideAnimationSpec: AnimationSpec<Float> = DefaultPageSlideAnimationSpec)

Function to display progress buttons for a pager.

Parameters

pagerState

The PagerState that this indicator should be bound to.

prevButtonContentDescription

The content description for the previous button.

nextButtonContentDescription

The content description for the next button.

modifier

The Modifier to be applied to the Row containing the buttons.

buttonColours

The colours for the buttons.

disabledButtonColours

The colours for the buttons when they are disabled.

pageSlideAnimationSpec

The animation specification for the page slide.