isHexColor function

bool isHexColor (String input)

check if the string input is a hexadecimal color

Implementation

bool isHexColor(String input) {
  return _regExp.hasMatch(input);
}