isHexColor function Null safety
- String input
check if the string input
is a hexadecimal color
Implementation
bool isHexColor(String input) {
return _regExp.hasMatch(input);
}
check if the string input
is a hexadecimal color
bool isHexColor(String input) {
return _regExp.hasMatch(input);
}