Vertical Pager Indicator
@Composable
Content copied to clipboard
An vertically laid out indicator for a VerticalPager or HorizontalPager, representing the currently active page and total pages drawn using a Shape.
This element allows the setting of the indicatorShape, which defines how the indicator is visually represented.
Samples
com.google.accompanist.sample.pager.VerticalPagerIndicatorSampleParameters
pager State
the state object of your Pager to be used to observe the list's state.
modifier
the modifier to apply to this layout.
active Color
the color of the active Page indicator
inactive Color
the color of page indicators that are inactive. This defaults to activeColor with the alpha component set to the ContentAlpha.disabled.
indicator Height
the height of each indicator in Dp.
indicator Width
the width of each indicator in Dp. Defaults to indicatorHeight.
spacing
the spacing between each indicator in Dp.
indicator Shape
the shape representing each indicator. This defaults to CircleShape.