imepay_merchant_sdk 1.0.0 imepay_merchant_sdk: ^1.0.0 copied to clipboard
The IME Pay Payment SDK for flutter gives access to merchants to receive payment from IME Pay customers through their flutter application.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add imepay_merchant_sdk
With Flutter:
$ flutter pub add imepay_merchant_sdk
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
imepay_merchant_sdk: ^1.0.0
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:imepay_merchant_sdk/constants/app_constants.dart';
import 'package:imepay_merchant_sdk/country_picker/countries.dart';
import 'package:imepay_merchant_sdk/country_picker/country.dart';
import 'package:imepay_merchant_sdk/country_picker/country_picker_cupertino.dart';
import 'package:imepay_merchant_sdk/country_picker/country_picker_dialog.dart';
import 'package:imepay_merchant_sdk/country_picker/country_picker_dropdown.dart';
import 'package:imepay_merchant_sdk/model/merchant_response_model.dart';
import 'package:imepay_merchant_sdk/model/mobile_verify_model.dart';
import 'package:imepay_merchant_sdk/model/payment_response_model.dart';
import 'package:imepay_merchant_sdk/model/request_model.dart';
import 'package:imepay_merchant_sdk/model/tokern_response.dart';
import 'package:imepay_merchant_sdk/phone_number_screen.dart';
import 'package:imepay_merchant_sdk/start_sdk.dart';
import 'package:imepay_merchant_sdk/utils/my_alert_dialog.dart';
import 'package:imepay_merchant_sdk/utils/resultListener.dart';
import 'package:imepay_merchant_sdk/utils/typedefs.dart';
import 'package:imepay_merchant_sdk/utils/utils.dart';
import 'package:imepay_merchant_sdk/views/cancel_dialog.dart';
import 'package:imepay_merchant_sdk/views/error_screen.dart';
import 'package:imepay_merchant_sdk/views/loadin_overlay.dart';
import 'package:imepay_merchant_sdk/views/pin_layout.dart';
import 'package:imepay_merchant_sdk/views/review_screen.dart';
import 'package:imepay_merchant_sdk/views/success_screen.dart';
import 'package:imepay_merchant_sdk/views/verify_screen.dart';
import 'package:imepay_merchant_sdk/webservice/web_service.dart';
import 'package:imepay_merchant_sdk/widget/custom_button.dart';
import 'package:imepay_merchant_sdk/widget/custom_text_input_field.dart';
import 'package:imepay_merchant_sdk/widget/pin_put/pin_put.dart';
import 'package:imepay_merchant_sdk/widget/pin_put/pin_put_state.dart';