hex2color static method
Converts a hex string to a Flutter Color object.
Implementation
static Color hex2color(hex) {
final List<int> rgb = hex2rgb(hex);
return rgb2color(rgb[0], rgb[1], rgb[2]);
}
Converts a hex string to a Flutter Color object.
static Color hex2color(hex) {
final List<int> rgb = hex2rgb(hex);
return rgb2color(rgb[0], rgb[1], rgb[2]);
}