copyWith method
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
Implementation
@override
theme.ThemeExtension<OrkittCircularProgressIndicatorThemeData> copyWith({
Color? color,
Color? trackColor,
double? strokeWidth,
double? trackStrokeWidth,
}) {
return OrkittCircularProgressIndicatorThemeData(
color ?? this.color,
trackColor ?? this.trackColor,
strokeWidth ?? this.strokeWidth,
trackStrokeWidth ?? this.trackStrokeWidth,
);
}