merge method

DateStyle merge(
  1. DateStyle? other
)

Merges current DateStyle with other

Implementation

DateStyle merge(DateStyle? other) {
  if (other == null) return this;
  return copyWith(
    textStyle: other.textStyle,
    contentPadding: other.contentPadding,
    isTransparentBackground: other.isTransparentBackground,
    height: other.height,
    width: other.width,
    background: other.background,
    border: other.border,
    borderRadius: other.borderRadius,
    gradient: other.gradient,
  );
}