isHexadecimal property
Checks if string is hexadecimal. Example: HexColor = #12F
Implementation
static final isHexadecimal =
r'^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$'.regPattern;
Checks if string is hexadecimal. Example: HexColor = #12F
static final isHexadecimal =
r'^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$'.regPattern;