merge method
This style, with any unset field taken from other, field by field.
Implementation
TableStyle merge(TableStyle? other) {
if (other == null) {
return this;
}
return TableStyle(
borderColor: borderColor ?? other.borderColor,
borderWidth: borderWidth ?? other.borderWidth,
borderRadius: borderRadius ?? other.borderRadius,
cellPadding: cellPadding ?? other.cellPadding,
headerBackground: headerBackground ?? other.headerBackground,
headerTextStyle: headerTextStyle ?? other.headerTextStyle,
rowStripeColor: rowStripeColor ?? other.rowStripeColor,
);
}