AirshipEmbeddedCarouselDefaults

Properties

Link copied to clipboard
val dotsIndicator: @Composable BoxScope.(pagerState: PagerState, pageCount: Int) -> Unit

A minimal dots page indicator, positioned at Alignment.BottomCenter.

Functions

Link copied to clipboard
fun nextArrow(color: Color = Color.Black, fontSize: TextUnit = 24.sp): @Composable (onClick: () -> Unit, enabled: Boolean) -> Unit

A minimal accessible "next page" button, announced by TalkBack using one of Airship's own localized strings (e.g. "Next" in English, "Suivant" in French). Replace with your own composable for custom styling.

Link copied to clipboard
fun previousArrow(color: Color = Color.Black, fontSize: TextUnit = 24.sp): @Composable (onClick: () -> Unit, enabled: Boolean) -> Unit

A minimal accessible "previous page" button, announced by TalkBack using one of Airship's own localized strings (e.g. "Previous" in English, "Précédent" in French). Replace with your own composable for custom styling.