payment_flutter 0.1.0 copy "payment_flutter: ^0.1.0" to clipboard
payment_flutter: ^0.1.0 copied to clipboard

A flutter plug-in for the native Payment library (Android and iOS).

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add payment_flutter

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

dependencies:
  payment_flutter: ^0.1.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:payment_flutter/payment.dart';
import 'package:payment_flutter/payment_ui/main_method.dart';
import 'package:payment_flutter/payment_ui/payment_request.dart';
import 'package:payment_flutter/payment_ui/payment_result.dart';
import 'package:payment_flutter/vnpay_ewallet/vnpay_ewallet_user.dart';
import 'package:payment_flutter/vnpay_ewallet/vnpay_ewallet_user_info_result.dart';
import 'package:payment_flutter/vnpay_ewallet/vnpay_ewallet_user_info_result.g.dart';
0
likes
130
pub points
21%
popularity

Publisher

unverified uploader

A flutter plug-in for the native Payment library (Android and iOS).

Repository

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, json_annotation, json_serializable

More

Packages that depend on payment_flutter