copyWith method
VProgressStyle
copyWith({
- Color? backgroundColor,
- Color? color,
- Color? successColor,
- TextStyle? circularLabelTextStyle,
- double? linearRadius,
- double? circularSize,
override
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
Implementation
@override
VProgressStyle copyWith({
Color? backgroundColor,
Color? color,
Color? successColor,
TextStyle? circularLabelTextStyle,
double? linearRadius,
double? circularSize,
}) =>
VProgressStyle(
backgroundColor: backgroundColor ?? this.backgroundColor,
color: color ?? this.color,
circularLabelTextStyle:
circularLabelTextStyle ?? this.circularLabelTextStyle,
linearRadius: linearRadius ?? this.linearRadius,
circularSize: circularSize ?? this.circularSize,
successColor: successColor ?? this.successColor,
);