merge method

Implementation

ZeroExpansionTileStyle merge(ZeroExpansionTileStyle? other) {
  if (other == null) return this;
  return copyWith(
    leading: other.leading,
    trailing: trailing,
    titleColor: other.titleColor,
    collapsedTitleColor: other.collapsedTitleColor,
    variant: other.variant,
    backgroundColor: other.backgroundColor,
    childrenBackgroundColor: other.childrenBackgroundColor,
    childrenPadding: other.childrenPadding,
    clipBehavior: other.clipBehavior,
    collapsedBackgroundColor: other.collapsedBackgroundColor,
    collapsedIconColor: other.collapsedIconColor,
    collapsedShape: other.collapsedShape,
    expandedAlignment: expandedAlignment,
    iconColor: other.iconColor,
    shape: other.shape,
    textColor: other.textColor,
    collapsedTextColor: other.collapsedTextColor,
  );
}