merge method

Merges the theme data ScrollbarThemeData.

Implementation

ScrollbarThemeData merge(ScrollbarThemeData? other) {
  if (other == null) {
    return this;
  }
  return copyWith(
    disabledColor: other.disabledColor,
    color: other.color,
    hoverColor: other.hoverColor,
    highlightColor: other.highlightColor,
    inhoverColor: other.inhoverColor,
    foreground: other.foreground,
    trackColor: other.trackColor,
  );
}