blendMode property Null safety

BlendMode? 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;
void blendMode=(BlendMode? value)

Implementation

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