mercado_pago 0.1.3

  • Readme
  • Changelog
  • Example
  • Installing
  • 83

Mercado Pago Helper #

pub package

A flutter plugin to integrate MercadoPago into flutter app. So far I completed the basic functions which includes:

  • New user
  • New card
  • Associate card with user
  • Get all card by user
  • Token with card
  • Create payment

Usage #

Setup MercadoPago credentials first

import 'package:mercado_pago/mercado_pago.dart';
final credentials = MercadoCredentials(
    publicKey: 'PUBLIC-KEY-TEST',
    accessToken: 'ACCESS-TOKE-TEST'

This plugin is in very initial stage, I am using it in my personal app. Future plan is to complete all the remaining API.

[0.0.1] - 16/12/2018

  • Create new user
  • Create new card
  • TODO: associate card with user


Example #

Use this package as a library

1. Depend on it

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

  mercado_pago: ^0.1.3

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:mercado_pago/mercado_pago.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 Jan 27, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.4
  • Flutter: 1.12.13+hotfix.5

Health suggestions

Format lib/mercado_pago.dart.

Run flutter format to format lib/mercado_pago.dart.

Format lib/src/credentials.dart.

Run flutter format to format lib/src/credentials.dart.

Format lib/src/model.dart.

Run flutter format to format lib/src/model.dart.

Format lib/src/services.dart.

Run flutter format to format lib/src/services.dart.

Maintenance suggestions

Package is getting outdated. (-6.58 points)

The package was last published 55 weeks ago.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flutter 0.0.0
http ^0.12.0 0.12.0+4
Transitive dependencies
async 2.4.0
charcode 1.1.2
collection 1.14.11 1.14.12
http_parser 3.1.3
meta 1.1.8
path 1.6.4
pedantic 1.9.0
sky_engine 0.0.99
source_span 1.6.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies