hexToColorName static method
Implementation
static String? hexToColorName(hexValue) {
for (final entry in _EXTENDED_COLOR_NAMES) {
if (entry['value'] == hexValue) {
return entry['name'] as String?;
}
}
return null;
}
static String? hexToColorName(hexValue) {
for (final entry in _EXTENDED_COLOR_NAMES) {
if (entry['value'] == hexValue) {
return entry['name'] as String?;
}
}
return null;
}