Skip to main content

Add the dependency

pubspec.yaml

Peer dependencies

bmoni_embedded_wallets_cards depends on: All of these are pulled in automatically as transitive dependencies.

Riverpod setup

If you aren’t already using Riverpod, wrap your app root:

Import

This single barrel exports everything: models, contracts, failures, notifiers, and widgets.

Run the example

A full Riverpod-wired example with in-memory fake data sources is in the example/ directory:
It demonstrates:
  • A swipeable EmbeddedWalletCard carousel with show/hide balance
  • An EmbeddedWalletTransactionsSection that follows the active wallet
  • Pull-to-refresh fanning out across list, balance, and transaction notifiers
  • In-memory EmbeddedWalletReadDataSource, EmbeddedWalletStorage, and EmbeddedWalletBalanceCache that run without a backend