flutter_google_wallet 0.2.0 copy "flutter_google_wallet: ^0.2.0" to clipboard
flutter_google_wallet: ^0.2.0 copied to clipboard

PlatformAndroid

A Flutter Google Wallet Plugin

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_google_wallet

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flutter_google_wallet: ^0.2.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:flutter_google_wallet/flutter_google_wallet_pigeon.dart';
import 'package:flutter_google_wallet/flutter_google_wallet_platform_interface.dart';
import 'package:flutter_google_wallet/flutter_google_wallet_plugin.dart';
import 'package:flutter_google_wallet/generated/intl/messages_all.dart';
import 'package:flutter_google_wallet/generated/intl/messages_de.dart';
import 'package:flutter_google_wallet/generated/intl/messages_en.dart';
import 'package:flutter_google_wallet/generated/intl/messages_es.dart';
import 'package:flutter_google_wallet/generated/intl/messages_fr.dart';
import 'package:flutter_google_wallet/generated/intl/messages_it.dart';
import 'package:flutter_google_wallet/generated/intl/messages_nl.dart';
import 'package:flutter_google_wallet/generated/l10n.dart';
import 'package:flutter_google_wallet/messages.dart';
import 'package:flutter_google_wallet/utils/locale_utils.dart';
import 'package:flutter_google_wallet/widget/add_to_google_wallet_button.dart';