CompletionSheet constructor

CompletionSheet(
  1. RichText title,
  2. String message,
  3. RichText footnote, {
  4. Key? key,
  5. dynamic fontFamily,
  6. dynamic fontPackage,
  7. dynamic primaryTextColor,
  8. dynamic backgroundColor,
})

Completion Sheet Builder

TikiSdk.theme is used for default styling.

Implementation

CompletionSheet(this.title, this.message, this.footnote,
    {super.key, fontFamily, fontPackage, primaryTextColor, backgroundColor}) {
  this.primaryTextColor =
      primaryTextColor ?? TikiSdk.instance.activeTheme.primaryTextColor;
  this.backgroundColor =
      backgroundColor ?? TikiSdk.instance.activeTheme.primaryBackgroundColor;
  this.fontFamily = fontFamily ?? TikiSdk.instance.activeTheme.fontFamily;
  this.fontPackage = fontPackage ?? TikiSdk.instance.activeTheme.fontPackage;
}