Package-level declarations
Types
Functions
Link copied to clipboard
fun CardCarousel(modifier: Modifier = Modifier, cardInfos: List<CardInfo>, initialCardInfo: CardInfo? = null, allowReordering: Boolean = true, onCardClicked: (CardInfo) -> Unit = {}, onCardFocused: (CardInfo) -> Unit = {}, onCardReordered: (cardInfo: CardInfo, oldIndex: Int, newIndex: Int) -> Unit = { _, _, _ -> }, selectedCardInfo: @Composable (cardInfo: CardInfo?, index: Int, total: Int) -> Unit = { _, _, _ -> }, emptyCardContent: @Composable () -> Unit = { })
A horizontal carousel composable that displays a collection of cards.
Link copied to clipboard
A composable which shows a card with information.
Link copied to clipboard
fun rememberVerticalCardListState(scrollState: ScrollState = rememberScrollState()): VerticalCardListState
Creates and remembers a VerticalCardListState.
Link copied to clipboard
fun VerticalCardList(modifier: Modifier = Modifier, cardInfos: List<CardInfo>, focusedCard: CardInfo?, unfocusedVisiblePercent: Int = 25, allowCardReordering: Boolean = true, showStackWhileFocused: Boolean = true, cardMaxHeight: Dp = Dp.Unspecified, state: VerticalCardListState = rememberVerticalCardListState(), showCardInfo: @Composable (CardInfo) -> Unit = {}, emptyContent: @Composable () -> Unit = { }, onCardReordered: (cardInfo: CardInfo, newPosition: Int) -> Unit = { _, _ -> }, onCardFocused: (cardInfo: CardInfo) -> Unit = {}, onCardFocusedTapped: (cardInfo: CardInfo) -> Unit = {}, onCardFocusedStackTapped: (cardInfo: CardInfo) -> Unit = {})
A vertically scrolling list of cards that mimics a physical wallet experience.
Link copied to clipboard
A composable which shows a card with a warning.