PaywallFooterView constructor

  1. @Deprecated('use OriginalTemplatePaywallFooterView instead')
const PaywallFooterView({
  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

@Deprecated('use OriginalTemplatePaywallFooterView instead')
const PaywallFooterView({
  Key? key,
  Offering? offering,
  Function(Package rcPackage)? onPurchaseStarted,
  Function(CustomerInfo customerInfo, StoreTransaction storeTransaction)?
      onPurchaseCompleted,
  Function()? onPurchaseCancelled,
  Function(PurchasesError)? onPurchaseError,
  Function(CustomerInfo customerInfo)? onRestoreCompleted,
  Function(PurchasesError)? onRestoreError,
  Function()? onDismiss,
  AndroidPlatformViewMode androidPlatformViewMode =
      AndroidPlatformViewMode.textureLayerHybridComposition,
  required Widget Function(double bottomPadding) contentCreator,
}) : super(
        key: key,
        offering: offering,
        onPurchaseStarted: onPurchaseStarted,
        onPurchaseCompleted: onPurchaseCompleted,
        onPurchaseCancelled: onPurchaseCancelled,
        onPurchaseError: onPurchaseError,
        onRestoreCompleted: onRestoreCompleted,
        onRestoreError: onRestoreError,
        onDismiss: onDismiss,
        androidPlatformViewMode: androidPlatformViewMode,
        contentCreator: contentCreator,
      );