midpay 1.1.2 midpay: ^1.1.2 copied to clipboard
An unofficial midtrans payment plugin for flutter, Midtrans is one of the biggest payment gateway provider in indonesia
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add midpay
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
midpay: ^1.1.2
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:midpay/midpay.dart';