BottomFloatingBannerProps constructor

const BottomFloatingBannerProps({
  1. required String title,
  2. required String message,
  3. String? promoCode,
  4. String? ctaText,
  5. String? ctaHref,
  6. void onCtaClick()?,
  7. void onDismiss()?,
  8. Duration? countdownDuration,
  9. DateTime? expiresAt,
  10. int delayMs = 2000,
})

Implementation

const BottomFloatingBannerProps({
  required this.title,
  required this.message,
  this.promoCode,
  this.ctaText,
  this.ctaHref,
  this.onCtaClick,
  this.onDismiss,
  this.countdownDuration,
  this.expiresAt,
  this.delayMs = 2000,
});