color property Null safety
The background color.
The scene must be explicitly recomposited after this property is changed (as described at Layer).
Implementation
Color? get color => _color;
Implementation
set color(Color? value) {
if (value != _color) {
_color = value;
markNeedsAddToScene();
}
}