blendMode property

BlendMode? get blendMode

The blend mode to apply when blending the shader with the children.

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

Implementation

BlendMode? get blendMode => _blendMode;
set blendMode (BlendMode? value)

Implementation

set blendMode(BlendMode? value) {
  if (value != _blendMode) {
    _blendMode = value;
    markNeedsAddToScene();
  }
}