OriginalTemplatePaywallFooterView constructor

const OriginalTemplatePaywallFooterView({
  1. Key? key,
  2. Offering? offering,
  3. dynamic onPurchaseStarted(
    1. Package rcPackage
    )?,
  4. dynamic onPurchaseCompleted(
    1. CustomerInfo customerInfo,
    2. StoreTransaction storeTransaction
    )?,
  5. dynamic onPurchaseCancelled()?,
  6. dynamic onPurchaseError(
    1. PurchasesError
    )?,
  7. dynamic onRestoreCompleted(
    1. CustomerInfo customerInfo
    )?,
  8. dynamic onRestoreError(
    1. PurchasesError
    )?,
  9. dynamic onDismiss()?,
  10. AndroidPlatformViewMode androidPlatformViewMode = AndroidPlatformViewMode.textureLayerHybridComposition,
  11. required Widget contentCreator(
    1. double bottomPadding
    ),
})

Implementation

const OriginalTemplatePaywallFooterView({
  Key? key,
  this.offering,
  this.onPurchaseStarted,
  this.onPurchaseCompleted,
  this.onPurchaseCancelled,
  this.onPurchaseError,
  this.onRestoreCompleted,
  this.onRestoreError,
  this.onDismiss,
  this.androidPlatformViewMode =
      AndroidPlatformViewMode.textureLayerHybridComposition,
  required this.contentCreator,
}) : super(key: key);