copyWith method
ProgressProps
copyWith({
- double? value,
- ComponentSize? size,
- ProgressVariant? variant,
- bool? indeterminate,
- bool? showValue,
- String? trackColor,
- String? indicatorColor,
Implementation
ProgressProps copyWith({
double? value,
ComponentSize? size,
ProgressVariant? variant,
bool? indeterminate,
bool? showValue,
String? trackColor,
String? indicatorColor,
}) {
return ProgressProps(
value: value ?? this.value,
size: size ?? this.size,
variant: variant ?? this.variant,
indeterminate: indeterminate ?? this.indeterminate,
showValue: showValue ?? this.showValue,
trackColor: trackColor ?? this.trackColor,
indicatorColor: indicatorColor ?? this.indicatorColor,
);
}