HorizontalPagerIndicator
A horizontally laid out indicator for a androidx.compose.foundation.pager.HorizontalPager or androidx.compose.foundation.pager.VerticalPager, 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.
Parameters
A androidx.compose.foundation.pager.PagerState object of your androidx.compose.foundation.pager.VerticalPager or androidx.compose.foundation.pager.HorizontalPagerto be used to observe the list's state.
the modifier to apply to this layout.
the color of the active Page indicator
the color of page indicators that are inactive. This defaults to activeColor with the alpha component set to the ContentAlpha.disabled.
the size of each indicator in DpSize.
the horizontal spacing between each indicator in PaddingValues.
the shape representing each indicator. This defaults to CircleShape.
will be called when user clicks on the indicator. Default value is null.