VerticalPageIndicator

Vertical page indicator for use with VerticalPager, representing the currently active page and the approximate number of pages.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

VerticalPageIndicator

Android
@Composable
public fun VerticalPageIndicator(
    pagerState: PagerState,
    modifier: Modifier = Modifier,
    selectedColor: Color = PageIndicatorDefaults.selectedColor,
    unselectedColor: Color = PageIndicatorDefaults.unselectedColor,
    backgroundColor: Color = PageIndicatorDefaults.backgroundColor,
)

Parameters

pagerState State of the VerticalPager used to control this indicator
modifier Modifier to be applied to the VerticalPageIndicator
selectedColor The color which will be used for a selected indicator item.
unselectedColor The color which will be used for an unselected indicator item.
backgroundColor The color which will be used for an indicator background.