unofficial_midtrans_sdk 1.0.0
unofficial_midtrans_sdk: ^1.0.0 copied to clipboard
A Flutter package for Android and iOS that simplifies and makes it easier for the lazy ones to use the Midtrans payment gateway in Flutter.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add unofficial_midtrans_sdkThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
unofficial_midtrans_sdk: ^1.0.0Alternatively, 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:unofficial_midtrans_sdk/unofficial_midtrans_sdk.dart';