withColor method
Creates foreground color attribute with color
value
If color is black, unset is returned
Implementation
@override
ParchmentAttribute<int> withColor(int color) {
if (color == _black) {
return unset;
}
return ParchmentAttribute._(key, scope, color);
}