merge method

AppBarConfig merge(
  1. AppBarConfig? other
)

Implementation

AppBarConfig merge(AppBarConfig? other) {
  if (other == null) return this;
  return copyWith(
    backgroundColor: other._backgroundColor,
    appBarHeight: other._appBarHeight,
    leadIconBuilder: other._leadIconBuilder,
    titleStyle: titleStyle.merge(other._titleStyle),
    actionsStyle: actionsStyle.merge(other._actionsStyle),
    titleMaxLength: other._titleMaxLength,
    leftAndRightPadding: other._leftAndRightPadding,
    itemSpacing: other._itemSpacing,
    titlePadding: other._titlePadding,
    iconSize: other._iconSize,
    systemUiOverlayStyle: other._systemOverlayStyle,
    showDefaultBottom: other._showDefaultBottom,
  );
}