ottupaymentsdk 0.1.7 copy "ottupaymentsdk: ^0.1.7" to clipboard
ottupaymentsdk: ^0.1.7 copied to clipboard

unlisted

A new flutter payment sdk

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add ottupaymentsdk

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  ottupaymentsdk: ^0.1.7

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:ottupaymentsdk/Networkutils/networkUtils.dart';
import 'package:ottupaymentsdk/applePay/applePay.dart';
import 'package:ottupaymentsdk/cardValidators/input_formatters.dart';
import 'package:ottupaymentsdk/cardValidators/my_strings.dart';
import 'package:ottupaymentsdk/cardValidators/payment_card.dart';
import 'package:ottupaymentsdk/consts/appconfig.dart';
import 'package:ottupaymentsdk/consts/colors.dart';
import 'package:ottupaymentsdk/consts/consts.dart';
import 'package:ottupaymentsdk/consts/htmlString.dart';
import 'package:ottupaymentsdk/consts/imagePath.dart';
import 'package:ottupaymentsdk/functions/pay.dart';
import 'package:ottupaymentsdk/generated/intl/messages_all.dart';
import 'package:ottupaymentsdk/generated/intl/messages_ar.dart';
import 'package:ottupaymentsdk/generated/intl/messages_en.dart';
import 'package:ottupaymentsdk/generated/l10n.dart';
import 'package:ottupaymentsdk/models/3DSResponse.dart';
import 'package:ottupaymentsdk/models/fetchpaymenttransaction.dart';
import 'package:ottupaymentsdk/models/paymentStatus.dart';
import 'package:ottupaymentsdk/ottu.dart';
import 'package:ottupaymentsdk/paymentDelegate/paymentDelegate.dart';
import 'package:ottupaymentsdk/screen/3DS/WebViewWithSocketScreen.dart';
import 'package:ottupaymentsdk/screen/3DS/utils/functions.dart';
import 'package:ottupaymentsdk/screen/paymentScreen.dart';
import 'package:ottupaymentsdk/screen/webView/utils/webviewfunctions.dart';
import 'package:ottupaymentsdk/screen/webView/webViewScreen.dart';
import 'package:ottupaymentsdk/security/Encryption.dart';
import 'package:ottupaymentsdk/security/jailBreakDetection.dart';
import 'package:ottupaymentsdk/widget/Toast.dart';
import 'package:ottupaymentsdk/widget/cardTile.dart';
import 'package:ottupaymentsdk/widget/checkbox.dart';
import 'package:ottupaymentsdk/widget/deleteCardDialog.dart';
import 'package:ottupaymentsdk/widget/dialogs.dart';
import 'package:ottupaymentsdk/widget/savedCard.dart';
import 'package:ottupaymentsdk/widget/shimmer.dart';