color property Null safety
inherited
The background color.
Implementation
Color get color => _color;
inherited
Implementation
set color(Color value) {
assert(value != null);
if (color == value) {
return;
}
_color = value;
markNeedsPaint();
}