merge method

Implementation

SliderThemeData merge(SliderThemeData? style) {
  return SliderThemeData(
    margin: style?.margin ?? margin,
    thumbColor: style?.thumbColor ?? thumbColor,
    thumbRadius: style?.thumbRadius ?? thumbRadius,
    activeColor: style?.activeColor ?? activeColor,
    inactiveColor: style?.inactiveColor ?? inactiveColor,
    labelBackgroundColor: style?.labelBackgroundColor ?? labelBackgroundColor,
    labelForegroundColor: style?.labelForegroundColor ?? labelForegroundColor,
    useThumbBall: style?.useThumbBall ?? useThumbBall,
    trackHeight: style?.trackHeight ?? trackHeight,
  );
}