isHexColor function

bool isHexColor(
  1. String str
)

check if the string str is a hexadecimal color

Implementation

bool isHexColor(String str) => _hexcolor.hasMatch(str);