purchases_ui_flutter
purchases_ui_flutter allows to use RevenueCat's paywalls in your Flutter application. Check our main SDK for more information and our paywalls documentation
Installation
To use this plugin, add purchases_flutter
and purchases_ui_flutter
as a dependency in your pubspec.yaml file.
Then, you can present your paywall like:
await RevenueCatUI.presentPaywall();
or, if you want to present it conditionally based on a user's entitlements:
await RevenueCatUI.presentPaywallIfNeeded("requiredEntitlementId");
Requirements
purchases_ui_flutter requires XCode 14.0+ and minimum targets iOS 11.0+ and Android 24+. Paywalls will only work on iOS 15.0+ and Android 24+.
SDK Reference
Our full SDK reference can be found here.
Getting Started
For more detailed information, you can view our complete documentation at docs.revenuecat.com.