WalletScreen

fun WalletScreen(sdk: WalletSdk, modifier: Modifier = Modifier, onCardOpen: (Boolean) -> Unit = {}, bottomPadding: Dp = 96.dp)

The wallet home: every credential the holder has, as a stack of cards. Tap a card to open it (it rises to the top and its fields are listed below it); tap it again to go back. Cards can be long-pressed and dragged to reorder, and the order is saved. Expired and revoked cards carry a badge.

Card artwork comes from WalletBranding.renderFallbackCardArt. Scan / Present are host actions (WalletActionPill); hosts show them only on the plain card list.

Parameters

onCardOpen

told true while a card is focused or a permission setup page is showing, false on the plain card list — hosts hide the action pill while it's true.

bottomPadding

room kept below the card list for the host's floating action pill.