merge method

RowStyle merge(
  1. RowStyle other
)

Merges the current RowStyle with another, prioritizing non-null values from the other instance.

Implementation

RowStyle merge(RowStyle other) {
  return RowStyle(
    minRowHeight: other.minRowHeight ?? minRowHeight,
    alternatingStyle: other.alternatingStyle ?? alternatingStyle,
    mouseOverDecoration: other.mouseOverDecoration ?? mouseOverDecoration,
    decoration: other.decoration ?? decoration,
    margin: other.margin ?? margin,
  );
}