UsedFor constructor

UsedFor(
  1. List<UsedBullet> bullets, {
  2. Key? key,
  3. dynamic textColor,
  4. dynamic fontFamily,
  5. dynamic fontPackage,
})

Builds the UsedFor Widget.

TikiSdk.theme is used for default styling.

Implementation

UsedFor(this.bullets, {super.key, textColor, fontFamily, fontPackage}) {
  this.textColor = textColor ?? TikiSdk.instance.activeTheme.primaryTextColor;
  this.fontFamily = fontFamily ?? TikiSdk.instance.activeTheme.fontFamily;
  this.fontPackage = fontPackage ?? TikiSdk.instance.activeTheme.fontPackage;
}