merge method

ToolbarTheme merge(
  1. ToolbarTheme other

Creates a new ToolbarTheme where each property from this object has been merged with the matching property from the other object.


ToolbarTheme merge(ToolbarTheme other) {
  if (other == null) return this;
  return copyWith(
    color: other.color ?? color,
    toggleColor: other.toggleColor ?? toggleColor,
    iconColor: other.iconColor ?? iconColor,
    disabledIconColor: other.disabledIconColor ?? disabledIconColor,