merge method

TreeThemeData merge(
  1. TreeThemeData? other
)

Merges the theme data TreeThemeData.

Implementation

TreeThemeData merge(TreeThemeData? other) {
  if (other == null) {
    return this;
  }
  return copyWith(
    textStyle: other.textStyle,
    color: other.color,
    hoverColor: other.hoverColor,
    highlightColor: other.highlightColor,
  );
}