merge method

DivStyle merge(
  1. DivStyle? other
)

Implementation

DivStyle merge(DivStyle? other) {
  return copyWith(
    align: other?.align,
    padding: other?.padding,
    margin: other?.margin,
    width: other?.width,
    height: other?.height,
    color: other?.color,
    border: other?.border,
    radius: other?.radius,
    image: other?.image,
    boxShadow: other?.boxShadow,
    gradient: other?.gradient,
    clip: other?.clip,
    mainAlign: other?.mainAlign,
    mainSize: other?.mainSize,
    crossAlign: other?.crossAlign,
  );
}