UpsellWrapperWidget constructor

const UpsellWrapperWidget({
  1. Key? key,
  2. required String trigger,
  3. required Widget paywallNotShownReplacement,
  4. required Future<CanPresentUpsellResult?> availabilityChecker(),
  5. Map<String, dynamic>? customPaywallTraits,
  6. void onFallbackOpened(
    1. String? paywallUnavailableReason
    )?,
  7. VoidCallback? onFallbackClosed,
})

Implementation

const UpsellWrapperWidget({
  super.key,
  required this.trigger,
  required this.paywallNotShownReplacement,
  required this.availabilityChecker,
  this.customPaywallTraits,
  this.onFallbackOpened,
  this.onFallbackClosed,
});