parseShortHexCode property

bool parseShortHexCode
final

When true the hex color code paste action and field entry parser, interpret short three character web hex color codes like in CSS.

Web allows for short HEX RGB color codes like 123, ABC, F0C and 5D1 being used as RGB hex color values. These will be interpreted as 112233, AABBCC, FF00CC and 55DD11 when parseShortHexCode is true. This parsing applies to both pasted color values and entries in the color code field when parseShortHexCode is true.

Defaults to false.

Implementation

final bool parseShortHexCode;