copyWith method
A copy with the given fields replaced.
Implementation
HrStyle copyWith({
double? thickness,
Color? color,
EdgeInsetsGeometry? padding,
}) {
return HrStyle(
thickness: thickness ?? this.thickness,
color: color ?? this.color,
padding: padding ?? this.padding,
);
}