color property
Sets the color and invalidates the paint cache.
Implementation
set color(Color value) {
if (_color == value) return;
_color = value;
_cachedStyle = null;
markNeedsPaint();
}
Sets the color and invalidates the paint cache.
set color(Color value) {
if (_color == value) return;
_color = value;
_cachedStyle = null;
markNeedsPaint();
}