PaywallView constructor

const PaywallView({
  1. Key? key,
  2. Offering? offering,
  3. bool? displayCloseButton,
  4. Map<String, CustomVariableValue>? customVariables,
  5. PaywallPurchaseLogic? purchaseLogic,
  6. dynamic onPurchaseStarted(
    1. Package rcPackage
    )?,
  7. dynamic onPurchaseCompleted(
    1. CustomerInfo customerInfo,
    2. StoreTransaction storeTransaction
    )?,
  8. dynamic onPurchaseCancelled()?,
  9. dynamic onPurchaseError(
    1. PurchasesError
    )?,
  10. dynamic onRestoreCompleted(
    1. CustomerInfo customerInfo
    )?,
  11. dynamic onRestoreError(
    1. PurchasesError
    )?,
  12. dynamic onDismiss()?,
  13. dynamic onWebCheckoutOpened()?,
  14. dynamic onUrlOpened(
    1. String url
    )?,
})

Implementation

const PaywallView({
  Key? key,
  this.offering,
  this.displayCloseButton,
  this.customVariables,
  this.purchaseLogic,
  this.onPurchaseStarted,
  this.onPurchaseCompleted,
  this.onPurchaseCancelled,
  this.onPurchaseError,
  this.onRestoreCompleted,
  this.onRestoreError,
  this.onDismiss,
  this.onWebCheckoutOpened,
  this.onUrlOpened,
}) : super(key: key);