merge method

ElBoxStyle merge([
  1. ElBoxStyle? other
])

Implementation

ElBoxStyle merge([ElBoxStyle? other]) {
  if (other == null) return this;
  return copyWith(
    clipBehavior: other.clipBehavior,
    width: other.width,
    height: other.height,
    constraints: other.constraints,
    margin: other.margin,
    padding: other.padding,
    alignment: other.alignment,
    decoration: other.decoration,
    transform: other.transform,
    transformAlignment: other.transformAlignment,
    scale: other.scale,
    translate: other.translate,
  );
}