Package-level declarations

Functions

Link copied to clipboard
fun HorizontalPagerIndicator(pagerState: PagerState, pageCount: Int, modifier: Modifier = Modifier, pageIndexMapping: (Int) -> Int = { it }, activeColor: Color = LocalContentColor.current.copy(alpha = LocalContentAlpha.current), inactiveColor: Color = activeColor.copy(ContentAlpha.disabled), indicatorWidth: Dp = 8.dp, indicatorHeight: Dp = indicatorWidth, spacing: Dp = indicatorWidth, indicatorShape: Shape = CircleShape)

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.

Link copied to clipboard
fun Modifier.pagerTabIndicatorOffset(pagerState: PagerState, tabPositions: List<TabPosition>, pageIndexMapping: (Int) -> Int = { it }): Modifier
Link copied to clipboard
fun VerticalPagerIndicator(pagerState: PagerState, pageCount: Int, modifier: Modifier = Modifier, pageIndexMapping: (Int) -> Int = { it }, activeColor: Color = LocalContentColor.current.copy(alpha = LocalContentAlpha.current), inactiveColor: Color = activeColor.copy(ContentAlpha.disabled), indicatorHeight: Dp = 8.dp, indicatorWidth: Dp = indicatorHeight, spacing: Dp = indicatorHeight, indicatorShape: Shape = CircleShape)

A vertically laid out indicator for a androidx.compose.foundation.pager.VerticalPager or androidx.compose.foundation.pager.HorizontalPager, representing the currently active page and total pages drawn using a Shape.