pay_with_paymob 1.0.0 pay_with_paymob: ^1.0.0 copied to clipboard
A Flutter package for integrating pay_with_paymob services, enabling Visa and mobile wallet payments with customizable UI and secure payment processing.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pay_with_paymob
With Flutter:
$ flutter pub add pay_with_paymob
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
pay_with_paymob: ^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:pay_with_paymob/models/style.dart';
import 'package:pay_with_paymob/models/user_data.dart';
import 'package:pay_with_paymob/paymob_payment.dart';
import 'package:pay_with_paymob/services/dio_helper.dart';
import 'package:pay_with_paymob/views/mobile_wallet_view.dart';
import 'package:pay_with_paymob/views/payment_view.dart';
import 'package:pay_with_paymob/views/visa_view.dart';