blendMode property

BlendMode get blendMode

The BlendMode to use when applying the shader to the child.

The default, BlendMode.modulate, is useful for applying an alpha blend to the child. Other blend modes can be used to create other effects.

Implementation

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

Implementation

set blendMode(BlendMode value) {
  if (_blendMode == value) {
    return;
  }
  _blendMode = value;
  markNeedsPaint();
}