copyWith method
Makes a copy of SliderThemeData overwriting selected fields.
Implementation
SliderThemeData copyWith({
Color? disabledColor,
Color? activeColor,
Color? activeHoverColor,
Color? trackColor,
Color? hightlightColor,
}) {
return SliderThemeData(
disabledColor: disabledColor ?? this.disabledColor,
activeColor: activeColor ?? this.activeColor,
activeHoverColor: activeHoverColor ?? this.activeHoverColor,
trackColor: trackColor ?? this.trackColor,
hightlightColor: hightlightColor ?? this.hightlightColor,
);
}