ExpandingFabPromoProps class

Props for the expanding FAB promo.

A floating action button that expands to reveal a promo. Minimally intrusive - user initiates the interaction.

Constructors

ExpandingFabPromoProps({required String title, required String message, String? promoCode, String? discount, String? ctaText, String? ctaHref, void onCtaClick()?, void onDismiss()?, Widget? icon})
const

Properties

ctaHref String?
CTA button URL.
final
ctaText String?
CTA button text.
final
discount String?
Discount text (e.g., "15%").
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget?
Optional icon to display on the FAB.
final
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
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