cofee_payment_flutter 0.0.2
cofee_payment_flutter: ^0.0.2 copied to clipboard
This SDK provides a simple way to integrate CoFee Payment into your Flutter applications. It handles the payment flow, including opening the payment page and monitoring for completion. It then calls a [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add cofee_payment_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
cofee_payment_flutter: ^0.0.2Alternatively, 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:cofee_payment_flutter/cofee_payment.dart';
import 'package:cofee_payment_flutter/cofee_payment_method_channel.dart';
import 'package:cofee_payment_flutter/cofee_payment_platform_interface.dart';
import 'package:cofee_payment_flutter/entities/payment_details_entity.dart';
import 'package:cofee_payment_flutter/exceptions/payment_exceptions.dart';
import 'package:cofee_payment_flutter/services/payment_details_provider.dart';
import 'package:cofee_payment_flutter/services/payment_service.dart';
import 'package:cofee_payment_flutter/views/payment_browser.dart';