SlidingSidebarBannerProps constructor

const SlidingSidebarBannerProps({
  1. required String title,
  2. required String message,
  3. String? subtitle,
  4. String? promoCode,
  5. String? discount,
  6. String? ctaText,
  7. String? ctaHref,
  8. void onCtaClick()?,
  9. void onDismiss()?,
  10. PromoSidebarPosition position = PromoSidebarPosition.right,
  11. int delayMs = 3000,
  12. List<String>? features,
})

Implementation

const SlidingSidebarBannerProps({
  required this.title,
  required this.message,
  this.subtitle,
  this.promoCode,
  this.discount,
  this.ctaText,
  this.ctaHref,
  this.onCtaClick,
  this.onDismiss,
  this.position = PromoSidebarPosition.right,
  this.delayMs = 3000,
  this.features,
});