BottomFloatingBannerProps class
Props for the bottom floating banner.
Bottom floating banner that slides up with optional countdown timer. Great for limited-time offers and flash sales.
Constructors
Properties
- countdownDuration → Duration?
-
Countdown duration (e.g., time until offer expires).
final
- ctaHref → String?
-
CTA button URL.
final
- ctaText → String?
-
CTA button text.
final
- delayMs → int
-
Delay in milliseconds before showing the banner.
final
- expiresAt → DateTime?
-
Specific expiration date/time.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Banner message.
final
- onCtaClick → void Function()?
-
Callback when CTA is clicked.
final
- onDismiss → void Function()?
-
Callback when the banner is dismissed.
final
- promoCode → String?
-
Optional promo code.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
Banner 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