copyWith method
Implementation
HorizontalScrollSimulation copyWith({
Size? size,
double? right,
double? left,
double? y,
Tolerance? tolerance,
double? duration,
}) {
return HorizontalScrollSimulation(
size: size ?? this.size,
right: right ?? this.right,
left: left ?? this.left,
y: y ?? this.y,
tolerance: tolerance ?? this.tolerance,
duration: duration ?? this.duration,
);
}