copyWith method
Creates a copy of this object with the given fields replaced with the new values.
Implementation
MacosScrollbarThemeData copyWith({
double? thickness,
double? thicknessWhileHovering,
bool? showTrackOnHover,
bool? thumbVisibility,
Radius? radius,
Color? thumbColor,
}) {
return MacosScrollbarThemeData(
thickness: thickness ?? this.thickness,
thicknessWhileHovering:
thicknessWhileHovering ?? this.thicknessWhileHovering,
thumbVisibility: thumbVisibility ?? this.thumbVisibility,
radius: radius ?? this.radius,
thumbColor: thumbColor ?? this.thumbColor,
);
}