merge method

AIOptionsStyle merge(
  1. AIOptionsStyle? other
)

Merges current AIOptionsStyle with other

Implementation

AIOptionsStyle merge(AIOptionsStyle? other) {
  if (other == null) return this;
  return copyWith(
    itemTextStyle: other.itemTextStyle,
    itemsSeparatorColor: other.itemsSeparatorColor,
    itemBackgroundColor: other.itemBackgroundColor,
    width: other.width,
    height: other.height,
    background: other.background,
    gradient: other.gradient,
    border: other.border,
    borderRadius: other.borderRadius,
  );
}