CuRePaywallScreen constructor

const CuRePaywallScreen({
  1. Key? key,
  2. required String title,
  3. required String description,
  4. required List<CuRePaywallItem> items,
  5. Function? onClose,
  6. required List<CuRePaywallPrice> prices,
  7. String? privacyPolicyUrl,
  8. String? termsOfServiceUrl,
  9. String? trialText,
  10. required dynamic onBuy(
    1. int
    ),
  11. Image? background,
})

Implementation

const CuRePaywallScreen({
  super.key,
  this.logo,
  required this.title,
  required this.description,
  required this.items,
  this.onClose,
  required this.prices,
  this.privacyPolicyUrl,
  this.termsOfServiceUrl,
  this.trialText,
  required this.onBuy,
  this.background,
});