shader property

Shader shader

The shader to apply to the children.

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

Implementation

Shader get shader => _shader;
void shader= (Shader value)

Implementation

set shader(Shader value) {
  if (value != _shader) {
    _shader = value;
    markNeedsAddToScene();
  }
}