kCompleteValidHexPattern top-level constant
String
const kCompleteValidHexPattern
hexValidator
Implementation
const String kCompleteValidHexPattern =
r'^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$';