isColorReference property
bool
get
isColorReference
Implementation
bool get isColorReference {
// what is this really used for. It says #123456 isn't a color
// this should probably only be done at the token level
bool isColor =
!startsWith('{') && RegExp(r'{(.*?)}').firstMatch(this) != null;
// print('looked at $this to see if it is a color - $isColor');
return isColor;
}