OfferPrompt constructor

const OfferPrompt(
  1. Map<String, Offer> offers, {
  2. Key? key,
  3. RichText? title,
  4. Color? primaryBackgroundColor,
  5. Color? secondaryTextColor,
  6. Color? primaryTextColor,
  7. String? fontFamily,
  8. String? fontPackage,
  9. Color? accentColor,
})

Builds the OfferPropt.

TikiSdk.theme is used for default styling.

Implementation

const OfferPrompt(this.offers,
    {super.key,
    this.title,
    this.primaryBackgroundColor,
    this.secondaryTextColor,
    this.primaryTextColor,
    this.fontFamily,
    this.fontPackage,
    this.accentColor});