setVariant method
Implementation
void setVariant(LiWETheme name, Color backgroundColor, Color color, Color borderColor) {
var theme = variants[name];
if (theme != null) {
theme["backgroundColor"] = backgroundColor;
theme["color"] = color;
theme["borderColor"] = borderColor;
}
}