UnlockFeatureDialog constructor

const UnlockFeatureDialog({
  1. Key? key,
  2. required AppTheme theme,
  3. required ProductDetails product,
  4. ProductDetails? subscriptionProduct,
  5. bool hasSubscription = false,
  6. required void onPurchasePressed()?,
  7. void onSubscriptionPressed()?,
  8. void onClosePressed()?,
})

Implementation

const UnlockFeatureDialog({
  super.key,
  required super.theme,
  required this.product,
  this.subscriptionProduct,
  this.hasSubscription = false,
  required this.onPurchasePressed,
  this.onSubscriptionPressed,
  this.onClosePressed,
});