merge method

Implementation

InfoBarThemeData merge(InfoBarThemeData? style) {
  if (style == null) return this;
  return InfoBarThemeData(
    closeIcon: style.closeIcon ?? closeIcon,
    icon: style.icon ?? icon,
    decoration: style.decoration ?? decoration,
    actionStyle: style.actionStyle ?? actionStyle,
    iconColor: style.iconColor ?? iconColor,
    padding: style.padding ?? padding,
  );
}