MinimizablePromoProps class
Props for the minimizable promo.
A promo drawer that slides in from the right edge. When minimized, only a slim tab is visible. Click to expand the full panel.
Constructors
Properties
- ctaHref → String?
-
CTA button URL.
final
- ctaText → String?
-
CTA button text.
final
- delayMs → int
-
Delay in milliseconds before showing.
final
- discount → String?
-
Discount text (e.g., "15% OFF").
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Promo message.
final
- onCtaClick → void Function()?
-
Callback when CTA is clicked.
final
- onDismiss → void Function()?
-
Callback when dismissed.
final
- promoCode → String?
-
Optional promo code.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tabLabel → String
-
Label shown on the minimized tab.
final
- title → String
-
Promo title.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited