merge method

dynamic merge(
  1. ListItemStyle? style
)

Implementation

merge(ListItemStyle? style) {
  if (style == null) return this;
  return copyWith(
    titleStyle: style.titleStyle,
    separatorColor: style.separatorColor,
    width: style.width,
    height: style.height,
    background: style.background,
    gradient: style.gradient,
    border: style.border,
    borderRadius: style.borderRadius,
  );
}