FastIapPremiumPage constructor

const FastIapPremiumPage({
  1. Key? key,
  2. required String premiumProductId,
  3. bool shouldSortItems = false,
  4. bool showAppBar = true,
  5. String? restorePremiumText,
  6. VoidCallback? onRestorePremium,
  7. VoidCallback? onBuyPremium,
  8. String? titleText,
  9. List<FastItem>? items,
  10. Widget? icon,
})

Implementation

const FastIapPremiumPage({
  super.key,
  required this.premiumProductId,
  this.shouldSortItems = false,
  this.showAppBar = true,
  this.restorePremiumText,
  this.onRestorePremium,
  this.onBuyPremium,
  this.titleText,
  this.items,
  this.icon,
});