PaywallView constructor

const PaywallView({
  1. Key? key,
  2. Offering? offering,
  3. bool? displayCloseButton,
  4. dynamic onPurchaseStarted(
    1. Package rcPackage
    )?,
  5. dynamic onPurchaseCompleted(
    1. CustomerInfo customerInfo,
    2. StoreTransaction storeTransaction
    )?,
  6. dynamic onPurchaseError(
    1. PurchasesError
    )?,
  7. dynamic onRestoreCompleted(
    1. CustomerInfo customerInfo
    )?,
  8. dynamic onRestoreError(
    1. PurchasesError
    )?,
  9. 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);