color property

Color color

The background color.

The scene must be explicitly recomposited after this property is changed (as described at Layer).

Implementation

Color get color => _color;
void color= (Color value)

Implementation

set color(Color value) {
  if (value != _color) {
    _color = value;
    markNeedsAddToScene();
  }
}