getColorValue function
- String colorName
Get Color from Color Name using colorNamesValue
Implementation
Color getColorValue(String colorName) {
if (colorNamesValue.containsKey(colorName)) {
return colorNamesValue.getValueByKeyStartWith(colorName)!;
}
return COLOR_DEFAULT;
}