merge method

BaseStyle merge(
  1. BaseStyle? other
)

Implementation

BaseStyle merge(BaseStyle? other) {
  if (other == null) return this;
  return copyWith(
      fontSize: other.fontSize,
      color: other.color,
      height: other.height,
      activeColor: other.activeColor,
      backgroundColor: other.backgroundColor,
      backgroundActiveColor: other.backgroundActiveColor);
}