copyWith method
Creates a copy with selected values replaced.
Implementation
FdcGridProgressStyle copyWith({
Color? color,
Color? backgroundColor,
bool? showText,
TextStyle? textStyle,
double? height,
BorderRadiusGeometry? borderRadius,
BoxBorder? border,
}) {
return FdcGridProgressStyle(
color: color ?? this.color,
backgroundColor: backgroundColor ?? this.backgroundColor,
showText: showText ?? this.showText,
textStyle: textStyle ?? this.textStyle,
height: height ?? this.height,
borderRadius: borderRadius ?? this.borderRadius,
border: border ?? this.border,
);
}