merge method

Implementation

ScrollbarThemeData merge(ScrollbarThemeData? other) {
  if (other == null) return this;
  return copyWith(
    thickness: other.thickness,
    hoveringThickness: other.hoveringThickness,
    showTrackOnHover: other.showTrackOnHover,
    isAlwaysShown: other.isAlwaysShown,
    interactive: other.interactive,
    radius: other.radius,
    thumbColor: other.thumbColor,
    hoveringThumbColor: other.hoveringThumbColor,
    draggingThumbColor: other.draggingThumbColor,
    trackColor: other.trackColor,
    hoveringTrackColor: other.hoveringTrackColor,
    trackBorderColor: other.trackBorderColor,
    hoveringTrackBorderColor: other.hoveringTrackBorderColor,
    crossAxisMargin: other.crossAxisMargin,
    mainAxisMargin: other.mainAxisMargin,
    minThumbLength: other.minThumbLength,
  );
}