FullscreenTakeoverProps class
Props for the fullscreen takeover.
A dramatic full-screen takeover for major promotions. Use very sparingly - only for major sales events or first-time visitors.
Constructors
Properties
- countdownDuration → Duration?
-
Countdown duration for urgency.
final
- ctaHref → String?
-
Primary CTA button URL.
final
- ctaText → String?
-
Primary CTA button text.
final
- delayMs → int
-
Delay in milliseconds before showing.
final
- description → String?
-
Optional description text.
final
- discount → String?
-
Discount text (e.g., "15% OFF").
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headline → String
-
Large headline text.
final
- onCtaClick → void Function()?
-
Callback when primary 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
- secondaryCtaText → String?
-
Secondary CTA button text.
final
- subheadline → String
-
Subheadline (shown above headline).
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