Terms constructor
Terms(})
Builds the Terms screen with the src
text.
TikiSdk.theme is used for default styling.
Implementation
Terms(this.src,
{super.key,
buttonColor,
textColor,
backgroundColor,
fontFamily,
fontPackage}) {
this.buttonColor = buttonColor ?? TikiSdk.instance.activeTheme.accentColor;
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;
}