Add To Google Wallet

A Flutter plugin that provides the Add To Google Wallet Button.


The goal of this plugin is to simplify the implementation of Add To Google Wallet feature.


Before plugin can be used, make sure to complete all of the prerequisites listed below.

  1. Sign up for a Google Wallet API Issuer account
  2. Authorize your app
  3. Create a Passes Class
  4. Create a Passes Object



To use this plugin, add add_to_google_wallet as a dependency in your pubspec.yaml file.

  add_to_google_web_wallet: ^0.0.6

or run this command:

flutter pub add add_to_google_web_wallet 

Example usage

import 'package:add_to_google_wallet/widgets/add_to_google_web_wallet_button.dart';
import 'package:flutter/material.dart';
import 'package:uuid/uuid.dart';