hexadecimal property

Pattern hexadecimal
getter/setter pair

Hexadecimal regex

Implementation

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