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.
- Sign up for a Google Wallet API Issuer account
- Authorize your app
- Create a Passes Class
- Create a Passes Object
To use this plugin, add add_to_google_wallet
as a dependency in your pubspec.yaml file.
dependencies:
add_to_google_web_wallet: ^0.0.6
or run this command:
flutter pub add add_to_google_web_wallet
import 'package:add_to_google_wallet/widgets/add_to_google_web_wallet_button.dart';
import 'package:flutter/material.dart';
import 'package:uuid/uuid.dart';