setTheme function
dynamic
setTheme(
- dynamic _themeData,
- dynamic _surveyThemeClass
Implementation
setTheme(_themeData, _surveyThemeClass) {
_themeData['questionColor'] = _surveyThemeClass.questionColor;
_themeData['answerColor'] = _surveyThemeClass.answerColor;
_themeData['backgroundColor'] = _surveyThemeClass.backgroundColor;
_themeData['questionDescriptionColor'] =
_surveyThemeClass.questionDescriptionColor;
_themeData['questionNumberColor'] = _surveyThemeClass.questionNumberColor;
_themeData['decodedOpnionBackgroundColorSelected'] =
_surveyThemeClass.decodedOpnionBackgroundColorSelected;
_themeData['decodedOpnionBackgroundColorUnSelected'] =
_surveyThemeClass.decodedOpnionBackgroundColorUnSelected;
_themeData['decodedOpnionBorderColor'] =
_surveyThemeClass.decodedOpnionBorderColor;
_themeData['decodedOpnionLabelColor'] =
_surveyThemeClass.decodedOpnionLabelColor;
_themeData['ctaButtonColor'] = _surveyThemeClass.ctaButtonColor;
_themeData['ratingRgba'] = _surveyThemeClass.ratingRgba;
_themeData['ratingRgbaBorder'] = _surveyThemeClass.ratingRgbaBorder;
_themeData['ctaButtonDisabledColor'] =
_surveyThemeClass.ctaButtonDisabledColor;
_themeData['showRequired'] = _surveyThemeClass.showRequired;
_themeData['buttonStyle'] = _surveyThemeClass.buttonStyle;
_themeData['showBranding'] = _surveyThemeClass.showBranding;
_themeData['questionString'] = _surveyThemeClass.questionString;
_themeData['hasGradient'] = _surveyThemeClass.hasGradient;
_themeData['gradientColors'] = _surveyThemeClass.gradientColors;
_themeData['showQuestionNumber'] = _surveyThemeClass.showQuestionNumber;
_themeData['showProgressBar'] = _surveyThemeClass.showProgressBar;
_themeData['hasHeader'] = _surveyThemeClass.hasHeader;
_themeData['headerText'] = _surveyThemeClass.headerText;
_themeData['headerLogoUrl'] = _surveyThemeClass.headerLogoUrl;
_themeData['hasFooter'] = _surveyThemeClass.hasFooter;
_themeData['footerText'] = _surveyThemeClass.footerText;
}