isHexColor property

bool get isHexColor

Check if the string is a hexadecimal color

Implementation

bool get isHexColor => RegexUtils.hexColor.hasMatch(this);