copyWith method
Makes a copy of CircularProgressIndicatorThemeData overwriting selected fields.
Implementation
CircularProgressIndicatorThemeData copyWith({
double? size,
Color? color,
Color? backgroundColor,
Duration? indeterminateDuration,
}) {
return CircularProgressIndicatorThemeData(
size: size ?? this.size,
color: color ?? this.color,
backgroundColor: backgroundColor ?? this.backgroundColor,
indeterminateDuration:
indeterminateDuration ?? this.indeterminateDuration,
);
}