color static method

Color color(
  1. String colorString
)

Parse the color string, and return the corresponding color. If the string cannot be parsed, throws an ArgumentError

Implementation

static Color color(String colorString) {
  return Color(intColor(colorString));
}