braintree 0.2.0

Attention! #

Due to naming conflicts with the native iOS CocoaPods package, this plugin is being discontinued in favor of flutter_braintree.

0.2.0 #

  • Discontinued in favor of flutter_braintree due to name conflict.

0.1.2 #

  • Switch to Android SDK version 4.1.1 (this includes a fix for the Google Payment issue)
  • Tweak example code slightly

0.1.1 #

  • Minor improvements

0.1.0 #

  • Migrate to AndroidX
  • Completely overhaul the API to more closely resemble the native Android Drop-in API
  • Add support for Google Pay (may not work properly yet)
  • Add credit card scanning with

0.0.2 #

  • Improve
  • Add analysis_options.yaml
  • Remove unnecessary dependency in the example build.gradle file

0.0.1 #

  • Add basic Drop-in UI functionality for Android


Braintree example project #

Demonstrates how to use the braintree plugin.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  braintree: ^0.2.0

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:braintree/braintree.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Feb 21, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5
  • Flutter: 1.12.13+hotfix.7


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies