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.
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.
- flutter_google_wallet
A Flutter plugin to integrate Google Wallet and save tickets or passes.
52Compare - google_wallet
Flutter plugin to integrate Google Wallet and save passes via JWT
50Compare - adyen_checkout
Adyen checkout library for Flutter to accept payments with cards and local methods.
86Compare - flutter_stripe
Flutter plugin for Stripe payments with native UI and Payment Sheet support.
92Compare
Works with
Packages commonly used together with flutter_wallet_card: ones it builds on, ones built on it, and its own family.
- archiveflutter_wallet_card depends on itEncodes and decodes archive and compression formats such as zip, tar, gzip, and zlib.
- cryptoflutter_wallet_card depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- uuidflutter_wallet_card depends on itGenerates and parses RFC‑4122/9562 UUIDs (v1‑v8) for Dart.
- json_annotationflutter_wallet_card depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- path_providerflutter_wallet_card depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- equatableflutter_wallet_card depends on itProvides value‑based equality for Dart objects without manual == and hashCode.