copyWith method
Creates a copy of this DrivenSpinnerThemeData but with the given fields replaced with the new values.
Implementation
@override
DrivenSpinnerThemeData copyWith({
double? size,
Color? color,
Color? backgroundColor,
double? width,
double? offset,
bool? rounded,
}) {
return DrivenSpinnerThemeData(
size: size ?? this.size,
color: color ?? this.color,
backgroundColor: backgroundColor ?? this.backgroundColor,
width: width ?? this.width,
offset: offset ?? this.offset,
rounded: rounded ?? this.rounded,
);
}