ecommpay_flutter_plugin 1.0.5 ecommpay_flutter_plugin: ^1.0.5 copied to clipboard
Flutter plugin of Mobile SDK UI is a software development kit that can be used to integrate Android applications with the Ecommpay payment platform.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ecommpay_flutter_plugin
With Flutter:
$ flutter pub add ecommpay_flutter_plugin
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
ecommpay_flutter_plugin: ^1.0.5
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ecommpay_flutter_plugin/ecmpplugin.dart';
import 'package:ecommpay_flutter_plugin/ecmpplugin_method_channel.dart';
import 'package:ecommpay_flutter_plugin/ecmpplugin_platform_interface.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_additional_field.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_additional_field.g.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_payment.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_payment.g.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_payment_info.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_payment_info.g.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_payment_options.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_payment_options.g.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_plugin_result.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_plugin_result.g.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_recipient_info.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_recipient_info.g.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_recurrent_data.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_recurrent_data.g.dart';