backgroundBlendMode property

BlendMode? get backgroundBlendMode

The BlendMode applied to the color or gradient background, or null if the decoration doesn't define one.

Implementation

BlendMode? get backgroundBlendMode => switch (this) {
  BoxDecoration(:final backgroundBlendMode) => backgroundBlendMode,
  _ => null,
};