consume_inapp_purchase 0.0.1
consume_inapp_purchase: ^0.0.1 copied to clipboard
Consume In-App Purchase is a Flutter plugin designed to streamline the handling of consumable in-app purchases for both Android and iOS platforms. It provides an intuitive API for consuming purchases [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add consume_inapp_purchaseThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
consume_inapp_purchase: ^0.0.1Alternatively, 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:consume_inapp_purchase/consume_inapp_purchase.dart';