cupertino library

Cupertino wallet UI entrypoint.

Classes

CupertinoWalletButton
Cupertino connect button with connected-account and disconnect states.
WalletAvatar
Renders Wallet Standard SVG and raster data URI icons.
WalletPickerContent
Framework-neutral, responsive wallet picker body.
WalletUiKeys
Stable keys for wallet UI automation and accessibility testing.
WalletUiPalette
Colors shared by the unopinionated picker content.
WalletUiTheme
Supplies wallet-specific design tokens below this widget.
WalletUiThemeData
Configurable geometry and copy shared by all wallet widgets.

Functions

compactWalletAddress(String address, {int edgeLength = 4}) String
Shortens address without assuming a particular alphabet.
showCupertinoWalletPicker({required BuildContext context, required WalletController controller, WalletEmptyBuilder? emptyBuilder, WalletPickerHeaderBuilder? headerBuilder, WalletTileBuilder? tileBuilder}) Future<Wallet?>
Opens a responsive Cupertino wallet picker.

Typedefs

WalletButtonBuilder = Widget Function(BuildContext context, WalletAdapterState state, VoidCallback? onPressed)
Builds a complete connect or account button.
WalletEmptyBuilder = Widget Function(BuildContext context)
Builds an application-specific empty state.
WalletPickerHeaderBuilder = Widget Function(BuildContext context, String title, VoidCallback? onClose)
Builds application-specific picker header content.
WalletTileBuilder = Widget Function(BuildContext context, Wallet wallet, int index, VoidCallback onTap)
Builds an application-specific wallet row.