Skip to content
pubscout

flutter_wallet_card

5.2.0, released 7 weeks ago by an unverified publisher

Generate and manage Apple Wallet passes and Google Wallet cards in Flutter.

Unverified publisher
$ flutter pub add flutter_wallet_card
Source repository

What it does

A cross-platform plugin providing a unified API for generating, adding, and managing wallet passes for Apple Wallet on iOS and Google Wallet on Android. It supports multiple card types, custom styling, location relevance, and loading from local files or web URLs.

AI-written summary of version 5.2.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to integrate Apple Wallet and Google Wallet passes into your Flutter app.
  • You want to generate or parse wallet card files from data or web URLs.

Skip it when

  • You only need in-app purchases or traditional payment gateway integrations.
  • Your target platform does not support Apple Wallet or Google Wallet.

Strengths

  • Unified cross-platform API for both iOS and Android wallets.
  • Supports multiple card types including generic, boarding passes, coupons, event tickets, and store cards.
  • Handles network downloads, local file parsing, and custom visuals.

Weaknesses

  • Requires platform-specific developer accounts and configurations (Apple Developer Console, Google Cloud Console).
  • Requires manual setup of native wallet capabilities and dependencies.

Setup

Kind
Plugin (native code)
Effort
High
Code generation
Yes (build_runner)
Direct dependencies
7

Requires enabling the Wallet capability in Xcode for iOS with a Pass Type ID and certificates, and enabling the Google Wallet API with OAuth 2.0 credentials for Android.

bool isAvailable = await FlutterWalletCard.isWalletAvailable;
if (isAvailable) {
  final card = WalletCard(
    id: 'my-card-123',
    type: WalletCardType.generic,
    platformData: {
      'passTypeIdentifier': 'pass.com.yourcompany.yourpass',
      'teamIdentifier': 'YOUR_TEAM_ID',
      'issuerId': 'your-issuer-id',
      'classId': 'your-class-id',
    },
    metadata: WalletCardMetadata(
      title: 'My Awesome Card',
      organizationName: 'Your Company',
      serialNumber: 'CARD123',
    ),
  );
  await FlutterWalletCard.addToWallet(card);
}

Alternatives

Packages that do the same job and could replace flutter_wallet_card.

Works with

Packages commonly used together with flutter_wallet_card: ones it builds on, ones built on it, and its own family.