fastpay_merchant 1.1.3
fastpay_merchant: ^1.1.3 copied to clipboard
FastPay merchant OFFICIAL flutter SDK.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add fastpay_merchantWith Flutter:
$ flutter pub add fastpay_merchantThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
fastpay_merchant: ^1.1.3Alternatively, 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:fastpay_merchant/fastpay_flutter_sdk.dart';
import 'package:fastpay_merchant/models/fastpay_payment_request.dart';
import 'package:fastpay_merchant/models/fastpay_payment_response.dart';
import 'package:fastpay_merchant/models/request/payment_initiation_request.dart';
import 'package:fastpay_merchant/models/request/payment_send_otp_request.dart';
import 'package:fastpay_merchant/models/response/base_response_model.dart';
import 'package:fastpay_merchant/models/response/payment_initiation_response.dart';
import 'package:fastpay_merchant/models/response/payment_success_response.dart';
import 'package:fastpay_merchant/models/test_model.dart';
import 'package:fastpay_merchant/services/fastpay_sdk_controller.dart';
import 'package:fastpay_merchant/ui/initializeScreen/sdk_initialize_screen.dart';
import 'package:fastpay_merchant/ui/otpScreen/otp_verification_screen.dart';
import 'package:fastpay_merchant/ui/paymentScreen/payment_screen.dart';
import 'package:fastpay_merchant/ui/termsAndConditionScreen/terms_and_condition_screen.dart';
import 'package:fastpay_merchant/ui/widget/CustomCheckbox.dart';
import 'package:fastpay_merchant/ui/widget/CustomOtpView.dart';
import 'package:fastpay_merchant/ui/widget/PhoneNumberTextInputFormatter.dart';
import 'package:fastpay_merchant/ui/widget/amount_dashboard.dart';
import 'package:fastpay_merchant/ui/widget/app_bar.dart';
import 'package:fastpay_merchant/ui/widget/text_style.dart';