onepref 0.0.24 copy "onepref: ^0.0.24" to clipboard
onepref: ^0.0.24 copied to clipboard

This package is a well-structured wrapper around Flutter’s in_app_purchase API that centralizes in-app purchase (IAP) logic for both Android (Google Play) and iOS (App Store).

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add onepref

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  onepref: ^0.0.24

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:onepref/onepref.dart';
22
likes
140
points
138
downloads

Publisher

verified publisherdingi.icu

Weekly Downloads

This package is a well-structured wrapper around Flutter’s in_app_purchase API that centralizes in-app purchase (IAP) logic for both Android (Google Play) and iOS (App Store).

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, in_app_purchase, in_app_purchase_android, in_app_purchase_platform_interface, in_app_purchase_storekit, shared_preferences

More

Packages that depend on onepref