in_app_purchase_android 0.3.6+8 in_app_purchase_android: ^0.3.6+8 copied to clipboard
An implementation for the Android platform of the Flutter `in_app_purchase` plugin. This uses the Android BillingClient APIs.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add in_app_purchase_android
With Flutter:
$ flutter pub add in_app_purchase_android
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
in_app_purchase_android: ^0.3.6+8
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:in_app_purchase_android/in_app_purchase_android.dart';