hexadecimal constant
Pattern
const hexadecimal
Hexadecimal regex
Implementation
static const Pattern hexadecimal = r'^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$';
Hexadecimal regex
static const Pattern hexadecimal = r'^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$';