sadadpay_flutter 0.0.5 sadadpay_flutter: ^0.0.5 copied to clipboard
Sadad Flutter SDK for facilitating integration with Sadad Payments REST APIs into your mobile app.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sadadpay_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
sadadpay_flutter: ^0.0.5
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:sadadpay_flutter/config/env.dart';
import 'package:sadadpay_flutter/interceptors/authorization_interceptor.dart';
import 'package:sadadpay_flutter/sadadpay.dart';
import 'package:sadadpay_flutter/service/payment_status.dart';
import 'package:sadadpay_flutter/service/sadad_service.dart';
import 'package:sadadpay_flutter/widgets/web_view.dart';