copyWith method
ProgressProps
copyWith({
- double? value,
- ComponentSize? size,
- ProgressVariant? variant,
- bool? indeterminate,
- bool? showValue,
- String? trackColor,
- String? indicatorColor,
- ArcaneStyleData? styles,
- ArcaneDecoration? decoration,
Implementation
ProgressProps copyWith({
double? value,
ComponentSize? size,
ProgressVariant? variant,
bool? indeterminate,
bool? showValue,
String? trackColor,
String? indicatorColor,
ArcaneStyleData? styles,
ArcaneDecoration? decoration,
}) {
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,
styles: styles ?? this.styles,
decoration: decoration ?? this.decoration,
);
}