MinimizablePromoProps constructor

const MinimizablePromoProps({
  1. required String title,
  2. required String message,
  3. String? promoCode,
  4. String? discount,
  5. String? ctaText,
  6. String? ctaHref,
  7. void onCtaClick()?,
  8. void onDismiss()?,
  9. String tabLabel = 'DEAL',
  10. int delayMs = 2000,
})

Implementation

const MinimizablePromoProps({
  required this.title,
  required this.message,
  this.promoCode,
  this.discount,
  this.ctaText,
  this.ctaHref,
  this.onCtaClick,
  this.onDismiss,
  this.tabLabel = 'DEAL',
  this.delayMs = 2000,
});