merge method

BaseTextStyle merge(
  1. BaseTextStyle? other
)

Implementation

BaseTextStyle merge(BaseTextStyle? other) {
  if (other == null) return this;
  return copyWith(
    color: other.color,
    fontSize: other.fontSize,
    fontWeight: other.fontWeight,
    decoration: other.decoration,
    height: other.height,
    textBaseline: other.textBaseline,
  );
}