LearnMore constructor

LearnMore(
  1. String src, {
  2. Key? key,
  3. dynamic textColor,
  4. dynamic backgroundColor,
  5. dynamic fontFamily,
  6. dynamic fontPackage,
})

Builds the Learn More screen.

TikiSdk.theme is used for default styling.

Implementation

LearnMore(this.src,
    {super.key, textColor, backgroundColor, fontFamily, fontPackage}) {
  this.textColor = textColor ?? 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;
}