PaywallView constructor
const
PaywallView({
- Key? key,
- Offering? offering,
- bool? displayCloseButton,
- dynamic onPurchaseStarted(
- Package rcPackage
- dynamic onPurchaseCompleted(
- CustomerInfo customerInfo,
- StoreTransaction storeTransaction
- dynamic onPurchaseError(
- PurchasesError
- dynamic onRestoreCompleted(
- CustomerInfo customerInfo
- dynamic onRestoreError(
- PurchasesError
- dynamic onDismiss()?,
Implementation
const PaywallView({
Key? key,
this.offering,
this.displayCloseButton,
this.onPurchaseStarted,
this.onPurchaseCompleted,
this.onPurchaseError,
this.onRestoreCompleted,
this.onRestoreError,
this.onDismiss,
}) : super(key: key);