ProgressClaimBannerProps constructor

const ProgressClaimBannerProps({
  1. required String title,
  2. required String message,
  3. required int claimedCount,
  4. required int totalCount,
  5. String? promoCode,
  6. String? ctaText,
  7. String? ctaHref,
  8. void onCtaClick()?,
  9. void onDismiss()?,
  10. int delayMs = 2000,
  11. bool simulateProgress = true,
})

Implementation

const ProgressClaimBannerProps({
  required this.title,
  required this.message,
  required this.claimedCount,
  required this.totalCount,
  this.promoCode,
  this.ctaText,
  this.ctaHref,
  this.onCtaClick,
  this.onDismiss,
  this.delayMs = 2000,
  this.simulateProgress = true,
});