Settings constructor
Settings(})
Builds the settings screen.
TikiSdk.theme is used for default styling.
Implementation
Settings(
this.offers, {
super.key,
this.title,
Color? primaryTextColor,
Color? secondaryTextColor,
Color? btnOutlineTextColor,
Color? btnOutlineBorderColor,
Color? btnSolidColor,
String? fontPackage,
String? fontFamily,
}) {
primaryTextColor =
primaryTextColor ?? TikiSdk.instance.activeTheme.primaryTextColor;
secondaryTextColor =
secondaryTextColor ?? TikiSdk.instance.activeTheme.secondaryTextColor;
btnOutlineTextColor =
btnOutlineTextColor ?? TikiSdk.instance.activeTheme.primaryTextColor;
btnOutlineBorderColor =
btnOutlineBorderColor ?? TikiSdk.instance.activeTheme.accentColor;
btnSolidColor = btnSolidColor ?? TikiSdk.instance.activeTheme.accentColor;
fontPackage = fontPackage ?? TikiSdk.instance.activeTheme.fontPackage;
fontFamily = fontFamily ?? TikiSdk.instance.activeTheme.fontFamily;
}