merge method

  1. @override
BoxDecorationMix merge(
  1. covariant BoxDecorationMix? other
)
inherited

Merges with another BoxDecorationMix.

Implementation

@override
BoxDecorationMix merge(BoxDecorationMix? other) {
  return BoxDecorationMix.create(
    backgroundBlendMode: MixOps.merge(
      $backgroundBlendMode,
      other?.$backgroundBlendMode,
    ),
    border: MixOps.merge($border, other?.$border),
    borderRadius: MixOps.merge($borderRadius, other?.$borderRadius),
    boxShadow: MixOps.merge($boxShadow, other?.$boxShadow),
    color: MixOps.merge($color, other?.$color),
    gradient: MixOps.merge($gradient, other?.$gradient),
    image: MixOps.merge($image, other?.$image),
    shape: MixOps.merge($shape, other?.$shape),
  );
}